3.3.1 Specifying the destinations of the standard output and the standard error output
The destinations of the standard output and the standard error output for jobs executed in JP1/Advanced Shell depend on specified options and the job execution mode, as described in the following table:
Item |
Standard error output |
Standard output |
||||
---|---|---|---|---|---|---|
Root job |
Child job |
Root job |
Child job |
|||
SPOOL specified in the OUTPUT_ STDOUT parameter#1 |
PARENT specified in the OUTPUT_ STDOUT parameter#1 |
|||||
Normal execution |
Expansion output mode#2 |
Spool files |
Output destination at the time the process starts |
Spool files |
Output destination at the time the process starts |
Output destination at the time the process starts |
Simple output mode or minimum output mode#2 |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
|
Debug execution |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
Output destination at the time the process starts |
- #1
-
In addition to the OUTPUT_STDOUT parameter, the adshexec command's -s option can be used to specify the value.
- #2
-
Use the following commands or parameters to specify the expansion, simple, or minimum output mode:
-
-m option in the adshexec command
-
-m option in the adshscripttool command
-
OUTPUT_MODE_ROOT parameter (for root jobs)
-
OUTPUT_MODE_CHILD parameter (for child jobs)
-