MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pre - compilation error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Wed Jul 14, 2004 1:23 am    Post subject: Pre - compilation error Reply with quote

Hi,

one fo my program is giving the fallowing error while binding

PROGRAM xxxxx PRECOMPILED WITH INCORRECT LEVEL FOR THIS RELEASE

The pre - compilation, compilation and linking is fine..

please suggest what could be the error

Regards
Bala
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jul 14, 2004 5:15 am    Post subject: Reply with quote

balamin,

It would have been easier if you had posted the error code instead of the error-text. It is hard to decipher with just the error-text. Any way check this link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNMCH11/3.15.13?SHELF=&DT=20010718150520&CASE=

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNMCH11/2.1.6.333?SHELF=&DT=20010718150520&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Wed Jul 14, 2004 6:42 am    Post subject: Reply with quote

Hi Kolusu,

Thanx for your inputs.
The link explains that there may be mismatch between the pre -compiler and Db2,
Bur i am not sure of this.

Here is the full error list
RETAIN;
DSNT208I - PROGRAM VAR54 PRECOMPILED WITH INCORRECT LEVEL FOR THIS
RELEASE
DSNT201I - BIND FOR PLAN VARPLAN NOT SUCCESSFUL
DSN


Thanks & Regards
Bala
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Jul 14, 2004 7:40 am    Post subject: Reply with quote

Balanim,

Take a look at the sysout from the pre-compilation step. It should have the version and release of DB2. It would be something like this

Code:

DB2 SQL PRECOMPILER         VERSION 7 REL. 1.0   
OPTIONS SPECIFIED: HOST(COB2),XREF,SOURCE       



I am guessing that you have ver 4 which is no longer supported. Talk to your systems people.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Wed Jul 14, 2004 8:50 am    Post subject: Reply with quote

Hi Kolusu
I have this output in Precompilation

Code:
DB2 SQL PRECOMPILER         VERSION 7 REL. 1.0
OPTIONS SPECIFIED: HOST(PLI),TWOPASS,


please suggest.

regards
Bala
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group