When processing intercepted or extracted jobs, you can either extract them to the Control-M environment, or you can assign a different manner in which these jobs should be processed. A user exit is a user-defined script (or executable) that can be used for this purpose.
For each intercepted or extracted job, the Extractor Management utility runs the script, and passes a list of parameters with values of the specific intercepted or extracted job, as described in User Exit script parameters.
A successful return value of the script is 0 (zero). Any other return value causes the job to be intercepted or extracted again, at the next iteration of the Extractor Management utility.
The User Exit script can run a user-defined action, and can use other Control-M utilities (for example, ctmorder and ctmcreate) to handle the Extracted or Intercepted job.
NOTE: When using Extractor Management, the User Exit script can only exist in the following location: <Agent_dir>/cm/SAP/USER_EXIT
Parent Topic |