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 |
IF I mention stop run in CICS what happens?
How many variables can be declared in w-s section.?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
can we use full outer join with cursors declared in cobol program?
What is the significance of 'above the line' and 'below the line'?
How do u initialize an array?
what is rediffine clause?in what situation it can use?give me real time example?
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
In an EVALUTE statement is the order of the WHEN clauses significant?
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.