473,473 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

SQL0407N occurs when binding files from older version (DB2 v7.2 @ OS/2)

Hi,

when binding V2 or V6 bind files to a V7 database, we get a SQL0407N
on a system table (SYSIBM.SYSPLANDEP).

The Database versions are:
- V7.2, FP12 WR21336 on the server
- V2.1 or V6.1 (no FP) on the development system

In case, it is important:
The database was migrated before from 2.1 -> 6.1 -> 7.2

Any ideas?
Does IBM garantuee compatibility for this scenario?

Thanx,
Helmut
Nov 12 '05 #1
3 2724
helmut wrote:
Hi,

when binding V2 or V6 bind files to a V7 database, we get a SQL0407N
on a system table (SYSIBM.SYSPLANDEP).

The Database versions are:
- V7.2, FP12 WR21336 on the server
- V2.1 or V6.1 (no FP) on the development system

In case, it is important:
The database was migrated before from 2.1 -> 6.1 -> 7.2

Any ideas?
Does IBM garantuee compatibility for this scenario?


What's the SQL statement from the bind file that tries to access
SYSIBM.SYSPLANDEP?
If your application tried to access that table directly, then the error is
your own problem. You should stick to the documented and supported SYSCAT
views because IBM tries to ensure backward compatibility for these views.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2
Knut Stolze <st****@de.ibm.com> wrote in message news:<cf**********@fsuj29.rz.uni-jena.de>...
helmut wrote:
Hi,

when binding V2 or V6 bind files to a V7 database, we get a SQL0407N
on a system table (SYSIBM.SYSPLANDEP).

The Database versions are:
- V7.2, FP12 WR21336 on the server
- V2.1 or V6.1 (no FP) on the development system

In case, it is important:
The database was migrated before from 2.1 -> 6.1 -> 7.2

Any ideas?
Does IBM garantuee compatibility for this scenario?


What's the SQL statement from the bind file that tries to access
SYSIBM.SYSPLANDEP?
If your application tried to access that table directly, then the error is
your own problem. You should stick to the documented and supported SYSCAT
views because IBM tries to ensure backward compatibility for these views.


The application does _not_ access that table directly. The SQL
statements referenced by the error message for the 3 bind files are
- EXEC SQL SELECT MAX(LFDNR)
INTO :maxlfdnr:maxlfdnrIND
FROM QDBADM.Qdzsch;
- EXEC SQL UPDATE QDBADM.QDZSCH SET
AUFTRNR = :auftrnr:auftrnrIND,
AUFTRPOS = :auftrpos:auftrposIND,
...
WHERE LFDNR = :lfdnr;
- EXEC SQL UPDATE QDBADM.QDIFPI SET
AUFTRNR = :auftrnr:auftrnrIND,
AUFTRPOS = :auftrpos:auftrposIND,
...
WHERE LFDNR = :lfdnr;
respectivly.
Nov 12 '05 #3
helmut wrote:
The application does _not_ access that table directly. The SQL
statements referenced by the error message for the 3 bind files are
- EXEC SQL SELECT MAX(LFDNR)
INTO :maxlfdnr:maxlfdnrIND
FROM QDBADM.Qdzsch;
- EXEC SQL UPDATE QDBADM.QDZSCH SET
AUFTRNR = :auftrnr:auftrnrIND,
AUFTRPOS = :auftrpos:auftrposIND,
...
WHERE LFDNR = :lfdnr;
- EXEC SQL UPDATE QDBADM.QDIFPI SET
AUFTRNR = :auftrnr:auftrnrIND,
AUFTRPOS = :auftrpos:auftrposIND,
...
WHERE LFDNR = :lfdnr;
respectivly.


Helmut,

Please provide me with a complete example of application code and matching
bind file created under V6 which is causing error in V7.

This is only scenario which I believe *should* be working. Any examples from
V2 have only historical value.

V7 is sstill supported (until Semptember 30, 2004) - so theoretically speaking
application compiled under V6 should be working under V7.
It is quite possible, that FP for V6 should be applied (latest was FP11).

Jan M. Nelken
(jasinek at attglobal dot net)
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pekka Henttonen | last post by:
For some reason SQL0407N error messages never reveal the name of the column to which a NULL value has been assigned. Here is an example: SQL0407N Assignment of a NULL value to a NOT NULL column...
4
by: prasad | last post by:
I am getting sql error during binding a program which access a temporary table. The temporary table declaration and access methods are given below. EXEC SQL DECLARE GLOBAL TEMPORARY TABLE TEM88...
17
by: Jochen Luebbers | last post by:
Hi, I've a problem: I compile modules of embedded SQL (for a dynamic lib) on multiple platforms (AIX,Linux,Windows). They are compiled from the same source code. To be able to provide all...
5
by: Janick Bernet | last post by:
The following Update fails with SQL0407N on Colum "Name", although the source-table t_Addresses_2005 is defined with NOT NULL on that column: UPDATE Addresses.t_Paddresses Old SET (Name,...
2
by: Amelyan | last post by:
VisualStudio is trying to copy older version of Company.Interface.dll into runtime directory from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\ and I get this warning. ...
3
by: Kush | last post by:
Hi. I was just wondering if someone could help me understand the relationship between the recv_hist_retention value and archive logs (and pruning of history file). My understanding is that the...
1
by: db2group88 | last post by:
Hi, we are using db2 ESE v8.2.3 on windows, i try to use command window to do binding D:\Program Files\IBM\SQLLIB\bnd>java -cp "D:\program files\ibm\sqllib \java\db2jcc.jar"...
4
by: Sergey Kashyrin | last post by:
Hi, I'm accessing DB2 v7 on z/OS from Java running on NT (Database server = DB2 OS/390 7.1.1) Tried both JDBC type 4 and type 2. I'm getting regularly SQL0407N errors like this: ...
2
by: Ronald S. Cook | last post by:
Hi, Some users on our domain can run our WCF application no problem. Some get an unhandled exception error re: SOAP security negotiation. I'm wanting the service to not be secure.. I just want...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.