You can create a load module by submitting JCL.
About this task
For details on JCL submission, see
Submitting
a job and obtaining the output.
Procedure
- Right-click a partitioned data set or source file and click Generate
JCL.
- Click the phrase that specifies the kind of JCL to create:
| Option |
Description |
| For Compile |
Generates JCL for compiling the selected member. |
| For Compile Link |
Generates JCL for compiling and linking the selected member. |
| For Compile Link Go |
Generates JCL for creating and running a load module. |
If you selected For Compile Link or For
Compile Link Go, the Load Module Member Name window
opens.- If Generate JCL > For Compile Link or For
Compile Link Go has not been performed on the resource,
and Rebuild Subproject has not been performed
on the subproject, the initial value in the load module name dialog
is the name of the resource.
- If Generate JCL > For Compile Linkor For
Compile Link Go has not been performed, and you specified
a load module name when performing Rebuild Subproject,
the initial value in the load module name dialog is the load module
name specified when performing Rebuild Subproject.
- To change the load module member name, type a
new name in the Member name field and click OK. After the load module name is specified for a resource, it is
remembered. You can disable this window by using the z/OS
Solutions preference page. The JCL
Data Set and Member Name window opens.
- You can overwrite both the name of the JCL data set (as
specified in the project properties) and the name of the JCL member
(as specified by Rational® Developer
for System z®); in any case,
click OK.
- If the specified JCL file already exists, a confirmation
message is displayed to prevent you from unintentionally overwriting
an existing JCL member. To create the JCL, click OK. A confirmation message is displayed to indicate that the
JCL was created in the specified data set.
- From the JCL Generation Complete window
you can do any of the following:
- Click Submit to submit the JCL.
- Click Open to open the JCL member in
an editor.
- Click OK to close the window without
submitting the JCL.