The Conversion tool automatically adjusts or report TWS job RECOVERY conditional statements as found in the jobs.txt file.
The possible options for RECOVERY are:
Recovery Sub-parameter |
Function |
Control-M equivalent |
|---|---|---|
STOP |
If the job fails, do not continue processing |
Handled by Conversion tool |
CONTINUE |
If the job fails, continue with the next job in the sequence |
Handled by Conversion tool |
RERUN |
If the job fails, rerun it |
Handled by Conversion tool |
AFTER [WORKSTATION] jobname |
If the job fails, submit a recovery job |
ON NOTOK DO FORCEJOB |
ABENDPROMPT “text” |
If the job fails, issue a message to the operator |
ON NOTOK DO SHOUT |
NOTE: RECOVERY AFTER statements issue a conversion message WRN0016 - Unable to create an assisting job to enable the RECOVERY AFTER option. Scan the jobs.txt file for occurrences of ‘RECOVERY AFTER’, and apply the required job-name as the DO FORCEJOB parameters for Control-M.
The ABENDPROMPT statement can also issue messages in different ways.
“text”= a maximum of 64 characters to be displayed in the event of job failure
“:text”= the prompt is displayed but requires no intervention
“!text”= the prompt is not displayed but requires a reply to continue the schedule
In each scenario, it is advised to issue ON NOTOK, DO SHOUT messages that advise the operator on the appropriate course of action.
Parent Topic |