Additional Job Definition Options

When you use the Job Definition utility (jobdef) to define single or multiple-step jobs, you can use the following options to help you more quickly define the job and to take advantage of additional job definition features. These include:

  • Copying a job definition.

    Use this procedure to copy the job parameters and steps from an existing job to create a new job.

  • Copying a step definition.

    Use this procedure to copy the steps from an existing job into a different job.

  • Defining a step based on a user form.

    Use this procedure if you want to include in a job definition a step that refers to user or Environment form IDs. When the user or Environment program runs, the parameters are appended to the end of the command associated with the form used for the step. When defining the user step, you specify the parameters for the command or program. For more information on user and Environment form IDs, see Lawson Administration: Server Setup and Maintenance.

  • Overriding the default work file path.

    Use this procedure if you need to save the work files for a batch program in a different location than the default location. The default location is:

    • %LAWDIR%\productline\work

    • %LAWDIR%\dataarea\work

    • %LAWDIR%\dataID\work

    You can change the default path for all steps in a job or for specific steps. Changing the path at the job level affects the entire job, while changing the path at the step level affects only the particular step. If you change the path at both levels, the path at the step level overrides the path at the job level.