Cobol Question:
Download Questions PDF

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.

Download Cobol Interview Questions And Answers PDF

Previous QuestionNext Question
Give some advantages of REDEFINES clause?How do you submit JCL via a COBOL program?