| # Adding a session to a job To add a session to a job, complete these steps: Start the session that you want to add to the job, and fill out the fields in the regular way. Click Add to Job. The Add Session to Job (ttaad5102s000) session starts. Enter the job code in the Job field. Enter the session sequence number. The sequence number indicates the order in which the sessions that you add to the job are executed. If you want the session to be executed, select the Active check box. 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. 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. 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. Click OK to add the session to the job and close the Add Session to Job (ttaad5102s000) session. 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. Related topics Using jobs Defining a job Running a job |