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
 

 

COBOL and DB2 FAQ's

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Tue May 16, 2006 1:37 am    Post subject: COBOL and DB2 FAQ's
Reply with quote

Hi,
i Haven few doublts in the cobl and db2 ,i giving below,if any body know pls let me know

1.how will u send data from a cobol file to db2 table?
2.What will happened ,if the subprogram is called second time?
3.How to pass return codes from Cobol to jcl?
4.If a DataStage job has aborted after say 1000 records, how to continue the load from 1000th record ?
5.I have 1000 records in vsam,I want to read records 500 to 900
Back to top
View user's profile Send private message

ralph_v

New User


Joined: 07 Jul 2005
Posts: 27

PostPosted: Wed May 17, 2006 8:20 pm    Post subject:
Reply with quote

2) If the subprogram is called twice it will be in old state so inorder to avoid we code is INITIAL near program-id so whenever we call the sub program again , the values inside the sub-program will be in intialised state.
Back to top
View user's profile Send private message
ralph_v

New User


Joined: 07 Jul 2005
Posts: 27

PostPosted: Wed May 17, 2006 8:21 pm    Post subject:
Reply with quote

2) If the subprogram is called twice it will be in old state so inorder to avoid we code is INITIAL near program-id so whenever we call the sub program again , the values inside the sub-program will be in intialised state.
3) Move <value> to RETURN-CODE
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm


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