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

How to know the type of error at precompilation


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthikuma

New User


Joined: 29 Mar 2005
Posts: 62

PostPosted: Wed Jun 01, 2005 10:03 am
Reply with quote

hi,

in precompilation if any one fails where the error will occur it will be in cobol,db2 or in jcl.(for ex if bind is fail)where the error will occur and also whether the precompilation any one get fails means it only get sqlcode are we will get error code,filestatus also.pzl give me asugestion.

regards,
kumar
Back to top
View user's profile Send private message
sree_2503

New User


Joined: 22 May 2005
Posts: 12
Location: Chennai,India

PostPosted: Wed Jun 01, 2005 10:44 am
Reply with quote

Hi karthikuma,

In case of precompilation step failing, it will be the DB2PC step(proc VDB2PC) that will fail, which is before COBOL compilation (in which case, u can generate a Cobol Compile Listings to check out the sysout).
Bind will be done with the Load generated by the LKED (link Edit) step and with the DBRM created in the DB2PC step (DB2 PC step) - so, dont confuse with the Bind operation - U can do a Bind only when u successfully get a Load and a DBRM. Hence the Bind step is after the LKED step, whereas, ur DB2 Precompile ideally should be before ur Cobol Compile step.
Hope this helps...
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts SMF record type 30 JCL & VSAM 8
Search our Forums:

Back to Top