Procedure
- Click the application icon to put the Flow Editor into
application placement mode and select z/OS job.
The application icon appears in the workspace.
- Double-click on the application icon to define the job.
The Application Definition- Edit Application display appears.
- On the General tab, fill out the
following fields:
In the Name field, specify a unique,
meaningful name for the job in the flow.
Optional: In the Description field,
add any descriptive text that may be used for managing this job within
the flow.
In the z/OS host name field, specify
the name of the mainframe host to run the job on.
In the Login user ID and Password fields
respectively, specify a valid user ID and password under which to
log into the mainframe host to run the job.
In the JCL file field, specify the full
path to the JCL to run. This file will be sent to the mainframe host.
In the Output file field, specify the
full path to the output file to receive the z/OS® job output.
Optional: In the Estimated run time (in minutes) field,
you may specify the approximate number of minutes the job is expected
to take to run. The default is 1 minute.
Optional: In the Check interval (in minutes) field,
you may specify the number of minutes to wait in between checking
for the job output. The default is 1 minute.
Optional: In the Time out (in minutes) field,
you may specify the number of minutes to wait before assuming the
job failed. The default is 0, or no timeout period.
- Optional: On the Execution Environment tab,
you may fill out one or more of the following fields:
If you want to submit your job to a particular queue, in the Submit
to queue/partition field, specify the queue name. Ensure
that the JCL is accessible from any host in the queue you specify.
If you want to run the proxy LSF® job
on a specific host, in the Run on host field,
specify the name of the host. Ensure that the JCL is accessible from
the host you specify.
- When you have completed filling in the fields, click OK.
Draw any dependencies as required.
Results
The job output is in the following format:
The first column displays the job name.
The second column displays the job ID
The third column displays the status of the job, where valid
status is OUTPUT. Additionally, the status displays the number of
files spooled for output.
If no output is returned from the
job, the job is presumed to have failed.
Required fields
When defining a z/OS job, the user is required
to enter the following fields:
z/OS host name—the name
of the mainframe host to log into
login user ID—the user ID under which to log into the mainframe
host
Password—the password used to validate the login user ID on
the mainframe host
The full path to the JCL to submit
The full path to the output file to receive the z/OS job output
(a single spool file—any existing file will be overwritten)
The
JCL and output file names must be accessible to the LSF execution host