The SAPSUCCESSMSG statement specifies a string that indicates the success of the job. If the string is found in the job's spool file, the job is considered successful.
Supported Job Types
This statement is optional for the following job types:
SAPSUCCESSMSG 'message'
Specifies a string that indicates the success of the job. If the string is found in the spool file of the SAP job, the job is considered successfully completed even if the job fails on the SAP system.
Limits: Up to 128 valid SAP characters; case-sensitive
Example: Use a Success Message to Determine a Job's Success
This example defines the success message, Program Selections. If the string is found in the SAP job log, the scheduling manager considers the job as successful.
SAPJOBNAME SAPTEST SAPSUCCESSMSG 'Program Selections' AGENT SAPHTAGENT SAPUSER J01PROD ABAPNAME BTCTEST VARIANT TEST
Copyright © 2013 CA Technologies.
All rights reserved.
|
|