Previous Topic: Set the Process Priority for an i5/OS JobNext Topic: Environment Variables in OpenVMS


Define an OpenVMS Job

You can define an OpenVMS job to schedule workload to run on an OpenVMS computer. The job runs an OpenVMS command file.

Follow these steps:

  1. Open the Application that you want to add the job to in the Define perspective.

    The Application appears in the workspace.

  2. Select the OpenVMS job from the System group in the Palette view, and drag the job to the workspace.

    The OpenVMS icon appears on the Application workspace view.

  3. Right-click the OpenVMS icon, and select Edit from the pop-up menu.

    The Basic page of the OpenVMS dialog opens.

  4. Complete the following required fields:
    Name

    Defines the name of the job that you want to schedule.

    Limits: 128 alphanumeric characters, plus the special characters commercial at (@), pound (#), dollar sign ($), underscore (_), square brackets ([]), brace brackets ({}), and percent sign (%) as a symbolic variable introducer character.

    Agent name

    Specifies the name of the OpenVMS agent where the job runs.

    Note: The drop-down list displays all the agents that are defined in the Topology for the specified job type.

    Command to run

    Specifies the path and command file name to execute when the job runs.

    Example: @SCRIPT:echo1.com

    Note: You can enter either an absolute path or just the logical name as long as you use valid syntax. The file extension and file version are optional but, if you specify the file version, you must also specify the file extension, for example, "RUN SAMPLE.EXE;25".

  5. (Optional) Specify the following additional information:
    Arguments to pass

    Defines the argument string of positional parameters to pass to the command file. Arguments can be numeric or alphabetic strings of data.

    Note: You must specify each parameter in the order it is expected in the script, separating each parameter with a blank space. To pass a parameter containing spaces, enclose it in double quotation marks.

    Example: p1 "p7 p11"

    User ID

    Specifies the OpenVMS user ID that has the authority to run the job. The user must be defined in the Topology. This field supports the use of a namespace for a user that has more than one password. Contact your administrator for the user name defined in the Topology.

    Examples: Bob, Production:Bob

    Note: The drop-down list displays all the user IDs that are defined in the Topology for the specified agent. You must have at least Read access to the ADMIN.Network Topology permission to view this list.

  6. Click OK.

    The OpenVMS job is defined.

Example: Run an OpenVMS Command

Suppose that an OpenVMS job OVMSJOB runs an OpenVMS command (@SCRIPT:echo1.com) with two arguments (p1, p4) under the PROD user ID. This job runs on the default agent computer.

To run an OpenVMS command

  1. Enter the following information in the Basic page:
  2. Click OK.

More Information:

Using a Namespace for a User that has Different Passwords