Hitachi

JP1 Version 11 Job Management: Getting Started (Scripting Language)


2.1.2 Specifying the job environment files

To use a job environment file to execute batch jobs, specify the file path in the ADSH_ENV environment variable. Use the procedure described below to create and specify a job environment file.

To create and specify a job environment file:

  1. Copy the sample.ase environment file sample data from the following directory to a desired directory and file:#

    • Windows execution environment

      installation-folder\JP1ASE\sample\sample.ase

    • UNIX execution environment

      /opt/jp1as/sample/sample.ase

  2. Specify the required parameters in the copy of the job environment file.

  3. Specify the path of the created job environment file in the ADSH_ENV environment variable so that the job environment file can be used during batch job execution.

    Use one of the following methods to specify the ADSH_ENV environment variable:

    • OS setting (Windows only)

    • System profile /etc/profile (UNIX only)

    • User profile ($HOME/.profile) (UNIX only)

#

Do not use any of the following characters in a job environment file directory or file name: & ( ) [ ] { } ^ = ; ! ' + , ` ~ # %. If any of these characters is used, JP1/Advanced Shell will not function normally.