Synopsis
path path name
Description
This statement specifies a path to be added to the PATH environment variable.
To specify multiple paths, specify them in multiple path control statements. Multiple paths cannot be specified in one path control statement.
A path specified in a path control statement is added to the top of the PATH environment variable.
Describe path control statements between the jobstart control statement and first stepstart statement.
When the path statement is specified for the control statement related to the total job, it is added after the path specified in this path statement.
Operand
path name
Specify a path name to be added to the environment variable.
Define the path name length so that the following does not exceed 259 bytes.
"Path name length in the path control statement" + "Program name length in the exec statement"
When specifying multiple paths, the total length of all the path control statements below should not exceed 4096 bytes.
"Total path name length specified in the path control statement for the job step" + "Number of path control statements for the job step"
Note that the length of data replaced with variable symbols "&n" is included in the above length.
Examples
[Windows]
path c:\users\user1\bin
C:\users\user1\bin: Path of executable program
[UNIX]
path /users/user1/bin
/users/user1/bin: Path of shell script or command