Defining Commands for a Batch Form

You can append command parameters for an Environment batch form ID. The default command is the form ID name (for example, the calc form ID has the command calc), but the form ID name does not have to be the command.

  1. On the Environment Form ID form, select the batch form you want to define command parameters for and press Define (F6).
  2. In the Environment Form ID Definition form, specify or select the following data:
    Field Description
    Form ID Display only. Form ID name.
    Command

    The command for the form ID. You can specify up to 50 characters. This field lets you supply parameters for a form ID that you always run a certain way.

    You should not change the command for a form ID.

    Pause On Exit

    Specifies whether to pause the program before the system exits from the form. The default is No.

    Yes pauses the program before the system exits from the form.

    No exits from the program after execution unless an error occurs.

    Has Parameter Form

    Specifies whether the form ID has a parameter form. The default is No.

    Yes means there is a parameter form for the system to display. The full path for the form is $GENDIR/menus/category/formID.

    No means a parameter form has not been defined.

    Is Standard Out A Print File

    Specifies whether the standard output is a print file. The default is No. This option is valid only if the batch forms are submitted through Batch Job Control.

    Yes sends the output to $LAWDIR/print/username/jobname/step#/formID.prt.

    No sends the output online.

    Print File Names

    File and directory for the output. The print file name is assigned to the print file whenever a user adds a job for the related form. However, the user can override the print file name in the Output Files form.

    If you do not specify a print file name, the print file name defaults to the Lawson standards.

    This option is valid only if the batch menu forms are submitted through Batch Job Control. See Lawson Administration: Jobs and Reports for more information.

  3. Press Enter twice to save the definition.