Hitachi

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


3.13.1 Examples

The following shows an example of specifying a spool job name in the initialization script.

In the initialization script, a part of the JP1/AJS job name specified in the AJSJOBNAME environment variable is extracted, and is specified for the ADSH_SPOOL_JOBNAME shell variable as a spool job name. If the job is not run from JP1/AJS or if the extracted part is longer than 100 bytes, the job execution date and time is used as a spool job name. Note that this behavior applies if BYTE is specified for the VAR_SHELL_GETLENGTH environment setting parameter. If CHARACTER is specified, the 100-byte limit changes to the 100-character limit.