The utility parameters are specified in the SYSIN DD input stream. They must be specified in the following order:
Table 199 CTDAPRV general parameters
Parameter |
Description |
---|---|
MODE |
Determines whether the utility runs in Production mode or Simulation mode. It is recommended that you run the utility in Simulation mode before running it in Production mode. Valid values:
|
DATETYPE |
Determines what date is used as the report creation date to calculate the report age and SLA date. Valid values:
|
Command statements have the following syntax:
|
One or more commands can be specified in the input stream.
The following commands are supported:
The parameter DAYS together with INCLUDE/EXCLUDE statements defines which reports should be selected for a command action. The command parameters specify the message text, urgency and email destination (optional). The email destination by default is taken from the corresponding Approval entry in the Approval Tree or optionally can be specified in the command parameters. See CTDCA2P Parameters in INCLUDE / EXCLUDE Statements for an explanation of these parameters.
Table 200 Parameter DAYS and command parameters
Parameter |
Description |
---|---|
DAYS |
Main selection criteria. Valid values:
|
URG |
The message urgency. Optional. Valid values:
|
or EMAILCC |
The email destination to which the message (or copy of message) should be sent. Optional. If it is not specified, the email destination is taken from the corresponding Approval entry in the Approval Tree. Valid values:
A combination of EMAIL parameters can be specified in the command. |
MSG |
Text of the message to be sent to those assigned to approve. This parameter is mandatory for the SHOUT command and optional for the APPROVE/REJECT commands. A separate email message is sent for each selected report entry. The message text should be between apostrophes. If the text includes apostrophes, the internal apostrophes should be doubled. The message can be continued in several input cards as long as it is divided between the cards on the word boundary. The utility replaces the blanks at the end of the first card and at the start of the continuation card by one blank in the output message. The message can include AutoEdit variables which are resolved from the Report entry. The following variables can be specified:
Maximum message length of 240 characters. |
Parent Topic |