#-adsh_spoolfile command (assigns a program output data file)
- Organization of this page
Format
#-adsh_spoolfile file-environment-variable
Description
This command assigns a program output data file. A maximum of 4,095 output files can be assigned. A maximum of 255 output files can be specified in a single job step or outside a job step. For details about the assignment method, see 5.9.3 Allocating program output data files and performing postprocessing.
Arguments
- file-environment-variable
-
~<environment variable name>((1 to 31 bytes))
Specifies the name of a file environment variable that is being defined. This will serve as the key for identifying the program output data file you are assigning to it.
In Windows, if ENABLE is specified in the VAR_ENV_NAME_LOWERCASE environment setting parameter, lowercase letters can be specified. If DISABLE is specified, lowercase letters cannot be specified.
Return codes
Return code |
Meaning |
---|---|
0 |
Normal termination |
1 |
Error termination |
Notes
-
Do not create directories under the spool job directory by using the path name assigned by the #-adsh_spoolfile command. If a directory is created under the spool job directory, an unexpected error might occur, such as an error resulting from spool job deletion by the adshhk command.
-
The #-adsh_spoolfile command cannot be used when the spool job creation suppression functionality is being used. If the #-adsh_spoolfile command is used in such a case, the KNAX6385-E message is issued and the command is terminated.