How to pass return codes from cobol to jcl?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / hari
move value to retun-code it should not declared in working -storage section.
by using internalreader we can pass the data from cobol to jcl
//sysout dd sysout=(*,intrdr)
Is This Answer Correct ? | 4 Yes | 0 No |
What is SDSF?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
Can JUSTIFIED be used for all the data types?
What is sqlca and why is it needed in any cobol-db2 program?
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks
which of the following can be used as a check protection symbol a.Z b.S c.* d.+
What is amode(31)
What is the different between index and subscript?
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?