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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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