Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to know the type of error at precompilation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How to know the type of error at precompilation
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us