how do u send return code from cobol to jcl ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What parameter directs the output of the job log dataset?

769


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

720


What do you understand by the term notcat 2 – gs?

759


List the different jcl statements that are not permitted in the procedures?

642


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

856






Explain the hierarchy levels in jcl?

1120


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9222


What is the function of //jcllib statement?

813


what are the statements that are not valid to be included in an include statement?

778


How can a stopped job be started again?

716


How does the jcl specify the job to os?

697


Explain how can return codes be tested before execution of a job step?

834


How do you submit a job for execution?

640


Is there any command to check wether the ps file is in sorted order?

2436


what is use of space parameter in dd statement?

758