How to pass return codes from cobol to jcl?

Answer Posted / ashl

Use the return-code variable and set to the desird value

move 16 to return-code

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are the next sentence and continue different from each other?

753


What is inspect in cobol ?

791


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5045


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

677


What is the difference between next sentence and continue in cobol programing language?

695






How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

631


What the difference is between continue and next sentence?

648


Explain about different table spaces.

638


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

632


How do you reference the following file formats from cobol programs?

687


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

691


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

2207


) what is the difference between AID and HANDLE AID?

1626


What are the pertinent COBOL

2034