how do u send return code from cobol to jcl ?

Answers were Sorted based on User's Feedback



how do u send return code from cobol to jcl ?..

Answer / srk

move 16 to return-code.

Is This Answer Correct ?    5 Yes 1 No

how do u send return code from cobol to jcl ?..

Answer / lu

EX : in step02 , your cobol program, u move 16 or something
else to return code...without define return code in
wss..and you test if return code = 16 in your step03

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

whats SOC7?

1 Answers   Patni,


I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

5 Answers   Bank Of America,


There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 Answers  


Explain the function of //cntl statement?

0 Answers  


how GDGs are concatinated?

4 Answers   HSBC,






hi guys what r the diff types of procs in jcl? bye ramya

4 Answers   ACS, Keane India Ltd,


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


What does the statements: typrun=scan and typrun=hold do in a JCL statement

2 Answers  


What is multithreading in jcl?

0 Answers  


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


Categories