| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Balanim Beginner
 
 
 Joined: 29 Jan 2004
 Posts: 21
 Topics: 8
 
 
 | 
			
				|  Posted: Wed Jul 14, 2004 1:23 am    Post subject: Pre - compilation error |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Balanim Beginner
 
 
 Joined: 29 Jan 2004
 Posts: 21
 Topics: 8
 
 
 | 
			
				|  Posted: Wed Jul 14, 2004 6:42 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Wed Jul 14, 2004 7:40 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Balanim Beginner
 
 
 Joined: 29 Jan 2004
 Posts: 21
 Topics: 8
 
 
 | 
			
				|  Posted: Wed Jul 14, 2004 8:50 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  | 
	
		|  |