A job is no longer executing but it remains in EXECUTING status (or some other ACTIVE status) on the AJF and is not properly updated. |
Jobs may be forced off the AJF using the utility CTMCAJF. Here is sample JCL and control statements to delete an unwanted job from the AJF. This uses the CLEANUP function, which will place the job in DELETED status, and the next New Day will physically remove it. The advantage to this approach is that you needn't bring CTM down to run this, as you would with the COMPRESS function. (The COMPRESS function will physically remove the record and free up the AJF slot immediately. But Control-M, IOAGATE and all on-line sessions must be stopped to run COMPRESS.) Please provide a valid JOB card, code the DSN of your IOA Proclib on the JCLLIB statement, and replace 'xxxxxxxx' with the MEMNAME of the job you wish to remove. If this MEMNAME appears on the AJF more than once (i.e. for different ODATEs), the date parameters FROM and TO may be inserted after SELECT MEMBER to limit the scope to a specific Job Record //CTMCAJF3 JOB ... // JCLLIB ORDER=IOA.V630I.PROCLIB // INCLUDE MEMBER=IOASET //COMPRESS EXEC CTMCAJF //SYSIN DD * CLEANUP SELECT MEMBER xxxxxxxx IGNORE MEMBER * /* The following video demonstrates this solution:
|