karthikuma
New User
Joined: 29 Mar 2005 Posts: 62
|
|
|
|
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 |
|
sree_2503
New User
Joined: 22 May 2005 Posts: 12 Location: Chennai,India
|
|
|
|
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... |
|