How do you set a return code to the JCL from a COBOL
program?

Answer Posted / sudheer kumar

in you cobol program you have to code
move 8 to return-code


from jcl we have to check
if re=8
step12 exec pgm=progname
else
step13 exec pgm=progname3
end-if.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you get the data to code the BMS macro?

1690


What is the difference between Global and External Variables?

915


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1818


Explain how you can characterize tables in cobol?

815


How can you get the ksds file records into your cobol program?

838


What is the difference between PIC 9.99 and PIC9v99?

1036


What type of SDLC u followed? Why?

1720


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

2424


What rules are to be followed while using the corresponding options?

827


How you can characterize tables in cobol?

917


what is amode(24), amode(31), rmode(24) and rmode(any)?

889


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1059


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1236


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2874


What is link edit in cobol?

937