3.4.5 Examples of job execution log output (when only the standard error output is output)
This subsection presents an example of the job execution log when STDERR (output only the standard error output to the job execution log) is selected with the JOBEXECLOG_PRINT environment setting parameter.
This example assumes that job definition scripts sample.ash, samplesub1.ash, and samplesub2.ash have been defined as shown in the following.
-
Job definition script sample.ash
#-adsh_job SAMPLEJOB echo JOB_STDERR_001 >&2 cd /home/user001/dir cd xxx cd /home/user001 #-adsh_step_start S1 -run always -onError cont echo STEP_STDERR_001 >&2 cd /home/user001/dir cd xxx cd /home/user001 #-adsh_step_end echo JOB_STDERR_002 >&2 #-adsh_step_start S2 -run always -onError cont echo STEP_STDERR_002 >&2 ./samplesub1.ash #-adsh_step_end cd /home/user001/dir cd xxx cd /home/user001 echo JOB_STDERR_003 >&2 ./samplesub2.ash
-
Job definition script samplesub1.ash
#-adsh_job SAMPLE_SUB1 echo SUB1_JOB_STDERR_001 >&2 cd /home/user001/dir cd xxxSUB1 cd /home/user001 #-adsh_step_start SUB1_S1 -run always -onError cont echo SUB1_STEP_STDERR_001 >&2 cd /home/user001/dir cd xxxSUB1 cd /home/user001 #-adsh_step_end echo SUB1_JOB_STDERR_002 >&2 #-adsh_step_start SUB1_S2 -run always -onError cont echo SUB1_STEP_STDERR_002 >&2 #-adsh_step_end cd /home/user001/dir cd xxxSUB1 cd /home/user001 echo SUB1_JOB_STDERR_003 >&2
-
Job definition script samplesub2.ash
#-adsh_job SAMPLE_SUB2 echo SUB2_JOB_STDERR_001 >&2 cd /home/user001/dir cd xxxSUB2 cd /home/user001 #-adsh_step_start SUB2_S1 -run always -onError cont echo SUB2_STEP_STDERR_001 >&2 cd /home/user001/dir cd xxxSUB2 cd /home/user001 #-adsh_step_end echo SUB2_JOB_STDERR_002 >&2 #-adsh_step_start SUB2_S2 -run always -onError cont echo SUB2_STEP_STDERR_002 >&2 #-adsh_step_end cd /home/user001/dir cd xxxSUB2 cd /home/user001 echo SUB2_JOB_STDERR_003 >&2
The following shows an example of the job execution log output: