Hitachi

JP1 Version 11 JP1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide 


3.13 Specifying a spool job name

When a job ends, the spool job directory is renamed to job-ID-spool-job-name. The spool job name used in the new spool job directory name is a job name of JP1/Advanced Shell. However, you can use the ADSH_SPOOL_JOBNAME shell variable to specify a desired character string as a spool job name.

Shell variable name

Value to be specified

ADSH_SPOOL_JOBNAME

Specify the spool job name that is to be used for renaming the spool job directory.

If the shell variable is used as a local variable in a function, the specified value is not used for renaming the spool job directory.

When the spool job directory is renamed at the end of a job, the value specified in this shell variable is used as the spool job name. If this shell variable is not specified, the job name of JP1/Advanced Shell is used to rename the directory.

The spool job name must consist of only characters that can be used in a directory name. Also, specify the spool job name so that the path name of each file in the spool directory must not be longer than the maximum length. If these rules are violated, the spool job directory cannot be renamed. Note that if the spool job name specified in the ADSH_SPOOL_JOBNAME shell variable includes the following characters, they are replaced by underscores (_) when the spool job directory is renamed.

Characters replaced by underscores

Forward slashes (/), backslashes (\), and periods (.)

If invalid multibyte characters are included, they are replaced by underscores (_) on a byte-by-byte basis when the spool job directory is renamed.

Organization of this section