The EMAILWEBREPORT statement specifies whether to email a web report to recipients on a distribution list.
Note: To use this statement, you must specify WEB in the OUTDESTYPE statement. You must also specify one or more addresses using the EMAILADDR statement.
Supported Job Type
This statement is optional for the PeopleSoft job type.
Syntax
This statement has the following format:
EMAILWEBREPORT YES|NO
Emails a web report to the recipients on the distribution list.
Does not email a web report to the recipients on the distribution list. This is the default.
Note: This statement corresponds to the Email Web Report field in PeopleSoft.
Example: Email a PeopleSoft Web Report
This example stores the output as a PDF web report. The web report is sent to the email addresses specified in the EMAILADDR statement. The email includes a subject title and body text.
AGENT PSAGENT EMAILADDR 'user1@example.com;user2@example.com' EMAILWEBREPORT YES OUTDESTTYPE WEB OUTDESTFORMAT PDF PSOPRID VP2 EMAILSUBJECT 'PeopleSoft Report Status' EMAILTEXT 'The report is available for distribution' PROCESSNAME XRFWIN PROCESSTYPE Crystal
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|