0 votes
in JCL by
How does JCL act on a COBOL code?

1 Answer

0 votes
by

There are a particular set of divisions that deals with JCL.

1. Identification Division

Act as introductory part to JCL. It introduces program name, author, date, etc. no interacting code to JCL.

2. Environment Division

Environment division allows JCL to interact with OS. OS sends a request for Files under file operation.

3. Data Division

It works with the accessed file according to operations to READ or to PRINT files (with the help of OS).

4. Procedure Division

It contains various actions taken on files, e.g., to close files that are being used.

...