Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us