REPORT statement

Use the REPORT statement to indicate the action you want to take for reporting problems with JES spool files. These problems include the following ones:
  • Errors accessing or reading the spool file
  • SAF (RACF®) violations
  • User exit rejection of a mail message or the spool file
  • Syntax errors in the spool file.
  • Unsuccessful delivery. SeeUNDELIVERABLE statement for details.

Tip: For a description of an error report, see the example of an error report to MailAdministrator or the sysout file in z/OS Communications Server: IP Diagnosis Guide.

Syntax

Read syntax diagramSkip visual syntax diagramREPORT SysoutREPORTAdminNoneSysout

Parameters

Admin
Indicates that an error report should be sent to the configured mail administrators.

Tip: To avoid losing the error report information in the event that it cannot be delivered to one or more configured mail administrators, code DeadLetterAction store in the UNDELIVERABLE statement.

Requirement: At least one mail administrator must be defined.

None
Indicates that no error reports should be created.

Without a report, the log must be inspected for messages about any problems found in the JES spool file.

Sysout
Indicates that CSSMTP should create a sysout file that contains the report.