Submit and Run a JCL Job

To submit the JCL application to JCLDEMO:

  1. In the Solution Explorer, right-click ESJCL.jcl, and click Submit JCL .
    The JCL job performs the following actions:
    • Uses the IDCAMS utility to delete any previous instance of the data set that will be created.
    • Runs a simple COBOL program (JCLCREAT.cbl) that creates and populates a simple data set.
    • Uses the IEBGENER utility to populate a temporary data set.
    • Runs a simple COBOL program (JCLREAD.cbl) to write the contents of the temporary data set to SYSOUT.

Check the Output window to see the output messages, including a link to view the job result. Ctrl+click the link in the Output window to see the details of the job. You can also check the Enterprise Server Console Daemon window running outside of the IDE for the result of running the JCL job.

Alternatively, you can use drag and drop feature to submit the JCL application to the JCL configured server as follows:
  1. In Solution Explorer, select ESJCL.jcl.
  2. Drag the file to Server Explorer and drop it on the JCLDEMO server.