How do you set a return code to the JCL from a COBOL
program?
Answer Posted / suresh
Move a value to RETURN-CODE register. RETURN-CODE should
not be declared in your program.
MOVE 4 TO RETURN-CODE
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
Can we redefine the field of x(200) to less than 200?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between Call and a Link?
What is the difference between goback, stop run and exit program in cobol?
What is the difference between Global and External Variables?
Differentiate between structured cobol programming and object-oriented cobol programming.
what is difference between cobol and cobol/400
i need a small 3d program using inline and outline.
What are the various section in data division and briefly explain them.
Whats the difference between search & search ALL?
What are the cobol coding sheets?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Have you used comp and comp-3 in your project? And how?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?