Adding a session to a job

To add a session to a job, complete these steps:

  1. Start the session that you want to add to the job, and fill out the fields in the regular way.
  2. Click Add to Job. The Add Session to Job (ttaad5102s000) session starts.
  3. Enter the job code in the Job field.
  4. Enter the session sequence number. The sequence number indicates the order in which the sessions that you add to the job are executed.
  5. If you want the session to be executed, select the Active check box.
  6. If you want LN to skip the session when the job runs, clear the Active check box. You can use this function to include or exclude sessions from the job without redefining the job.
  7. If the session generates output during the job, you must select an output device from the Device Data (ttaad3500m000) session. If you select a device of the Append to File or Rewrite File type, you must enter a file name.
  8. You can optionally use the fields in the Error Handling box to:

    • Indicate how LN must continue if there is an error during the execution of the session.
    • Indicate that LN must execute, or skip, a number of sessions of the job, if there is an error during the execution of the session.
  9. Click OK to add the session to the job and close the Add Session to Job (ttaad5102s000) session.
  10. Repeat these steps for each session that you want to include in the job.
Note: To include a shell script in a job, start the Add Shell Command to Job (ttaad5205m000) session.