The EMAILLOG statement specifies whether to email job logs along with the PeopleSoft report to recipients on a distribution list.
Note: To use this statement, you must specify EMAIL or WEB in the OUTDESTTYPE statement.
Supported Job Type
This statement is optional for the PeopleSoft job type.
Syntax
This statement has the following format:
EMAILLOG YES|NO
Emails job logs along with the report to the recipients on the distribution list.
Does not email job logs to the recipients on the distribution list. This is the default.
Note: This statement corresponds to the Email With Log field in PeopleSoft.
Example: Email PeopleSoft Job Logs
This example runs a Crystal report under the VP2 operator ID. The output is stored as a PDF web report. The DISTRLISTUSERS statement has no value, so the output is sent to the email addresses specified in the EMAILADDR statement. The email includes a subject title and body text. The web report and the job logs are included with the email.
AGENT PSAGT PROCESSNAME XRFWIN PROCESSTYPE 'Crystal reports' OUTDESTTYPE WEB OUTDESTFORMAT PDF DISTRLISTUSERS PSOPRID VP2 EMAILWEBREPORT YES EMAILADDR 'user1@example.com;user2@example.com' EMAILSUBJECT 'PeopleSoft Report Status' EMAILTEXT 'This report is available for distribution.' EMAILLOG YES
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|