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

How do you create a temporary dataset? Where will you use them?

2 Answers   IBM,


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  






FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?

4 Answers   IBM,


What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?

2 Answers   Patni,


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


How to submit a jcl from cics?

0 Answers  


what is “Cond= even” and “Cond=only”?

0 Answers  


what is a jcl?

0 Answers   IBM,


How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.

1 Answers  


Categories