Operator Console Notify Program (DGADTIFY)
The operator console program, DGADTIFY, works with the RUN TASK statement to notify the console operator of the success or failure of Processes by means of Write to Operator (WTO) messages.
The program must have the following parameters passed to it:
Parameter | Description |
---|---|
CL4‘GOOD' | CL4‘FAIL' | The first positional parameter tells the program the correct message to output. Code the parameter as illustrated in the following example, including the single quotes. |
file name | The second positional parameter is the name of the file that is being copied. |
The following example shows a Connect:Direct® for z/OS® Process using the DGADTIFY program.
|
The DGADTIFY program is attached on the PNODE. A parameter list containing the GOOD or FAIL message criteria and the FILE1 file name is passed to DGADTIFY. If the COPY statement is successful, the first RUN TASK step executes and you see the following message:
|
If the COPY statement is unsuccessful, the second RUN TASK step executes and you see the following messages:
|