How to pass return codes from cobol to jcl?

Answer Posted / hari

move value to retun-code it should not declared in working -storage section.
by using internalreader we can pass the data from cobol to jcl
//sysout dd sysout=(*,intrdr)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to move the records from file to array table. give with code example

2202


What is static and dynamic call in cobol?

578


Explain how you can characterize tables in cobol?

629


What is the difference between perform … with test after and perform … with test before?

859


What do you understand by psb and acb?

653






Why is it necessary that file needs to be opened in I-O mode for REWRITE?

728


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1827


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

614


How you can characterize tables in cobol?

698


When is inspect verb is used in cobol?

661


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1511


Mention the guidelines to write a structured cobol program?

599


What is the utilization of copybook in cobol?

642


how do you reference the rrds file formats from cobol programs

771


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

285