You might want to create a JCL file that can be viewed,
edited, and submitted to the remote system.
Before you begin
You must first connect to the remote system and set the properties
that are required for JCL generation.
About this task
You can generate JCL for a partitioned data set or a partitioned
data set member in an MVS subproject
or on a remote system. The generate JCL action is not supported for
sequential data sets or MVS subprojects.
Procedure
To generate JCL, follow these steps:
- On a source partitioned data set member, right-click and
select Generate JCL and one of the following
menu options:
- For Compile
- Generates JCL for compiling the selected program.
- For Compile Link
- Generates JCL for compiling and linking the selected program.
- For Compile Link Go
- Generates JCL for compiling, linking, and running the selected
program.
Tip: When the CICS®, IMS, or Db2® runtime
environments are configured in the COBOL Settings or PL/I
Settings property group pages, the application is expected
to run on the subsystem for which the properties are configured and
the GO step is not generated. To generate a GO step, ensure that the CICS, IMS,
or Db2 options are not selected on the Runtime
Environments page. If you require these options to be set,
then generate the JCL by using either the or actions.
- For Compile Link Debug
- Generates JCL for compiling, linking, and debugging the selected program. For information about
setting runtime debug options for the generated JCL, see Runtime
debug options.
- For Compile Link Code Coverage
- Generates JCL for compiling, linking, and running code coverage for the selected program. For
information about setting runtime code coverage options for the generated JCL, see Runtime code coverage options.
- On the JCL Data Set and Member Name window,
specify the job name, the data set where you want to save the JCL,
and the name of the source program.
- Click OK.
A message
window opens when JCL generation is complete. This message window
includes Submit and Open buttons
that you can use to submit the generated JCL or open the JCL in an
editor session.
- To submit the JCL, click Submit.
- To open the generated JCL in an editor session, click Open.