How do you set a return code to the JCL from a COBOL
program?
Answer Posted / sudheer kumar
in you cobol program you have to code
move 8 to return-code
from jcl we have to check
if re=8
step12 exec pgm=progname
else
step13 exec pgm=progname3
end-if.
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
HOw can I get the negative sign while deduct high value from low value
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What guidelines should be followed to write a structured cobol prgm?
What are the pertinent COBOL commands?
how to access the file from prodution from changeman tool and to submit a file to production
Explain what you understand by passing by value.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Explain about different table spaces.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the utilization of copybook in cobol?
Explain how you can characterize tables in cobol?
how to convert the recors form vsam file to db2 table tru file aid
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is cobol?