1.

What are different ways in which data can be passed to a COBOL program from JCL?

Answer»

The following methods can be USED to pass data from JCL to COBOL:  

  • SYSIN DD statement: Data can either be PROVIDED directly in SYSIN or as a file. If we want to read that in COBOL, we use the ACCEPT keystroke.
  • PARM parameter: On the JCL EXEC statement, we use PARM='Parameter value' to pass input from JCL to the program. In COBOL, this can be done in the LINKAGE SECTION.


Discussion

No Comment Found