IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error while Compiling in Xpiditor for Cobol-db2 programe.!!!


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prem_ibm

New User


Joined: 15 Sep 2007
Posts: 31
Location: Chennai

PostPosted: Thu Dec 02, 2010 6:09 pm
Reply with quote

Hi All,

i am facing some error while compiling the COBOL-DB2 programme in Xpiditor...as i have chosen the option COB2 for Cobol-db2 programe while compiling.but still all the SQL statement which i coded under the

EXEC SQL

END-EXEC
is not executing.

message is coming like all the fields which coded under the Exec sql - End-exec is not defiend as a data name...bcz these variable were not reconginzed during the precompilation time.

can u please advise on that....i have added proper dclgen library also during the precompilation of cob-db2 programme.

Imp:-- i have compiled and debug the cobol programe successfully in expitidor....before this programe
Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Thu Dec 02, 2010 9:37 pm
Reply with quote

Hello,

Suggest you talk with the whoever supports compiling with DB2/Xpiditor on your system. You cannot simply clone some other compile jcl.

You need to use the system standard compile for the "thing" you are trying to do. If there is not already standard compile jcl for thie, it needs to be created and supported - each developer should NOT create their own.
Back to top
View user's profile Send private message
prem_ibm

New User


Joined: 15 Sep 2007
Posts: 31
Location: Chennai

PostPosted: Sat Dec 04, 2010 10:56 am
Reply with quote

Hi Dick Scherrer,,

Thanks for u r valuable sugesstion & Time...i got JCL setup as per standard & now its working fine for COBOL-DB2....Thanks

Regards
Prem
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19245
Location: Inside the Matrix

PostPosted: Sat Dec 04, 2010 11:27 am
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts JCL error Misplaced DD name JCL & VSAM 12
No new posts Rexx issue error Ispf105 TSO/ISPF 27
No new posts Search substring in internal table of... COBOL Programming 2
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
Search our Forums:

Back to Top