How to pass return codes from cobol to jcl?

Answer Posted / vivek

Move a value to RETURN-CODE register. RETURN-CODE should
not be declared in your program.

Ex: MOVE 4 TO RETURN-CODE

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1931


what happens if parmparameter passes zero bytes to the program

1663


how do you reference the rrds file formats from cobol programs

796


how do you reference the esds vsam file formats from cobol programs

629


) How do u handle errors in BMS macro?

1427






I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1115


how do you reference the printer file formats from cobol programs

659


how do you reference the variable unblock file formats from cobol programs

748


What is the Purpose of Pointer in the string?

641


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2055


What are the cobol coding sheets?

664


Define static linking and dynamic linking.

662


What is the compute verb? How is it used?

659


What are all the divisions of a COBOL program?

663


What are various search techniques in cobol? Explain.

645