The JCLTEST command is used to test the notification JCL that will be submitted to the internal reader in the event of an process subtask failure, assuming FAILJOB=Y is specified in the startup parameter file and the FAILJOBI / FAILJOBO DD statements are allocated in the Master Controller JCL stream.
Syntax
J # | name |
Where # is the process number or name is the process name in which the fail JCL member will be submitted for. The name of the fail JCL member must match the process name specified in the startup parameter dataset. If a process does not have a corresponding fail JCL member, the default fail JCL member ($FAILMAX) is submitted.
Command Source | Syntax |
Operator’s Console | F jobname,J # | name | |
WTOR Reply | wtor#,J | name | |
Command Queue | J # | name | |
Example 1
Issue the JCLTEST command for subtask #2 via a reply to an outstanding WTOR message. For this example, the outstanding WTOR number is 55.
55,J 2
The jobname of the notification JCL is SQDNOTIFY.
Job log/console output:
R 55 SUPPRESSED
IEE600I REPLY TO 55 IS;SUPPRESSED
+SQD0302I: JCLTEST COMMAND ACCEPTED (WTOR)
$HASP100 SQDNOTIFY ON INTRDR FROM JOB00071 @13
SQD0300I: TEST ENGINES READY
$HASP373 SQDNOTIFY STARTED - INIT 2 - CLASS A - SYS SYS1
IEF403I SQDNOTIFY - STARTED - TIME=07.25.20
IEF404I SQDNOTIFY - ENDED - TIME=07.25.21
$HASP395 SQDNOTIFY ENDED