Cobol Question:
How to execute a set of JCL statements from a COBOL program?
Answer:
Using EXEC CICS SPOOL WRITE (var-name) END-EXEC command. Var-name is a COBOL host structure containing JCL statements.
Previous Question | Next Question |
Give some advantages of REDEFINES clause? | How do you submit JCL via a COBOL program? |