How to execute a set of JCL statements from a COBOL program ?
Answer Posted / guest
Using EXEC CICS SPOOL WRITE(var-name) END-EXEC command.
var-name is a COBOL host structure containing JCL statements.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what is use of dcb parameter in dd statement?
What do you understand by the term job time – out and how can you overcome that?
How jcl work to handle various input output file operations?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What is the purpose of dd dummy statement?
How is a type of file defined in the jcl that executes the cobol program?
What dd statement is used to supply the name of a dataset?
define cond parameter in jcl?
What is one line to pass PARM from JCL to COBOL?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How to pass data to a program that is coded in an exec statement?
What do you know about jcl?
For what purpose steplib and joblib are used ?
Is condition checking possible in jcl? If yes, how?
What is the use of disp parameter?