There are a number of similar jobs. When one of these jobs fails, you want to run a generic recovery Application that runs a recovery job and then completes the failed job.
To run a recovery job after failure
execTrigger('cyber.recover','','','','%WOB._name','%APPL._name','%APPL._gen');
execCommand('%APPL._user1','%(APPL._user2).%APPL._user3','ACTION COMPLETE');
The recovery Application looks like this:

When the job fails, an Alert builds a recovery Application. This Application consists of a recovery job followed by a link that completes the failed job in the original Application.
Built-in variables for the job name, Application name, and generation number are passed to the recovery Application as user parameters. This lets you use the same generic Application for jobs requiring a similar recovery process.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |