Hitachi

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


3.4.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 (standard error output of job execution log)#3

Output destination at the time the process starts

Spool files (standard output of job execution log)

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)

#3

When the job finishes executing, output is to the standard error output in effect when the job controller started.