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
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between binary search and sequential search?
Which is not true about evaluate statement
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Explain about different table spaces.
What are the pertinent COBOL commands?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the different rules to perform a Search?
What is amode(24)?
What is perform what is varying?
What kind of error is trapped by on size error option?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Can a Search can be done on a table with or without Index?
What are the pertinent COBOL