InterviewSolution
| 1. |
How Does Jcl Act On Code(if You Take A Cobol Program) ? |
|
Answer» There are certain set of divisions that INTERACT with JCL. IDENTIFICATION Division- act as introductory part to JCL(program name, author,date etc no INTERACTING code). Environment Division- now the story begins - JCL interacts with OS acc to NEED as it send request for Files under file operation. Data Division- after files are accessed, it works with them according to operations to READ or to PRINT files (with the help of OS). Procedure Division- it CONTAINS various actions taken on files eg to close files that are being used. There are certain set of divisions that interact with JCL. Identification Division- act as introductory part to JCL(program name, author,date etc no interacting code). Environment Division- now the story begins - JCL interacts with OS acc to need as it send request for Files under file operation. Data Division- after files are accessed, it works with them according to operations to READ or to PRINT files (with the help of OS). Procedure Division- it contains various actions taken on files eg to close files that are being used. |
|