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

Explain the function of a dd statement?

0 Answers  


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


What do you know about jcl?

0 Answers  






how to increase the space of a dataset in instream procedure.

1 Answers   HCL,


What does a disposition of (NEW,CATLG,KEEP) mean?

1 Answers   Cap Gemini,


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

2 Answers   Patni,


What is DSNDB06 ?

1 Answers  


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

0 Answers  


Categories