1.4.1 Environment variables used to execute JP1/AJS3 commands
The following table lists the environment variables used for command execution.
- #1
-
See Table 1-11 for the commands used to manipulate units.
- #2
-
The user mapping to be used varies with whether or not the JP1_HOSTNAME environment variable is set.
If the JP1_HOSTNAME environment variable is set, the user mapping defined in the logical host specified with the JP1_HOSTNAME environment variable is used.
Otherwise, the user mapping defined in the physical host is used.
You must set the JP1_HOSTNAME environment variable if you reference a logical host.
Do not set JP1_HOSTNAME when referencing a physical host. Setting JP1_HOSTNAME may cause the command to fail.
- #3
-
In Windows, make sure that the time zone used for command execution is the same as the system time zone.
- #4
-
According to the value specified in the AJSAUTOJUDGE environment variable, select a target unit from the units listed in a planning group.
You can specify the following values for the AJSAUTOJUDGE environment variable:
- YES
-
Specify this to automatically select a target unit.
When specifying a unit name in the command, omit a root jobnet name in a planning group.
- NO
-
Specify this if you do not want to automatically select a target unit.
You must specify a unit for which the command will operate. You cannot omit a root jobnet name in a planning group.
- AUTO or no specification
-
Whether a target unit will automatically be selected depends on how the unit name is specified.
-
If you want to automatically select a target unit:
Specify a unit name without a root jobnet name in a planning group.
-
If you do not want to automatically select a target unit:
Specify a unit name with a root jobnet name in a planning group. The command will operate for the specified unit only. However, if there is a unit having the same name as the path name specified without a root jobnet name in a planning group, a root jobnet name is assumed to be omitted so that a target unit will be selected automatically.
-
- #5
-
According to the AJSDISPSUBUNITTYPE environment variable, determine the format of output to the standard output file.
You can specify the following values for the AJSDISPSUBUNITTYPE environment variable:
- YES
-
Output the job group type.
Output format:
save-file-name:save-source-unit-name:saved-unit-name:saved-unit-type(job-group-type)
Example:
0001:/group1:group2:g(p)
- NO or no specification
-
Do not output the job group type.
Output format:
save-file-name:save-source-unit-name:saved-unit-name:saved-unit-type
Example:
0001:/group1:p_group1:g
For an explanation of the unit type and job group type, see Table 2-11 in the description of the ajsprint in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
- #6
-
When the LANG environment variable on the remote execution host is set to either ja_JP.UTF-8, ja_JP.utf8, JA_JP, or JA_JP.UTF-8, the value specified for the AJSCONVERTUTF8 environment variable defines whether the communication processing by JP1/AJS3 - Manager converts character codes.
The following lists the values that can be specified for the AJSCONVERTUTF8 environment variable.
- yes or undefined
-
JP1/AJS3 - Manager converts character codes during communication processing.
- no
-
JP1/AJS3 - Manager does not convert character codes during communication processing.
If both the source and destination hosts for remote command execution use UTF-8, set this paramter to no.