View previous topic :: View next topic
|
Author |
Message |
philipraju Warnings : 1 New User
Joined: 16 Apr 2006 Posts: 29
|
|
|
|
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 |
|
|
ralph_v
New User
Joined: 07 Jul 2005 Posts: 27
|
|
|
|
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 |
|
|
ralph_v
New User
Joined: 07 Jul 2005 Posts: 27
|
|
|
|
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 |
|
|
|