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
How do we get current date from system with century in COBOL?
What rules are to be followed while using the corresponding options?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is amode(31)
How to print 10 to 1 if the input have only 10 digit number?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the pertinent COBOL commands?
What is amode(24)?
In which area will you utilize 88 level items in cobol?
What are the access modes of START statement?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how to refer the data field?