CA Jobtrac Job Management: What to do if job hangs in WAIT EXEC or EXECUTING status.

book

Article ID: 50099

calendar_today

Updated On:

Products

CA Jobtrac

Issue/Introduction

A job can remain in status WAIT EXEC or EXECUTING (for example after a system crash), and the line commands "P" (Purge) or "D" (Delete) will then be rejected with message "REQUEST DENIED".

 

Environment

Release:
Component: JOBTRC

Resolution

In this case, use the "@" line command together with option "DEP" as input on the COMMAND line with "requeue". This places the job back in the "Hold queue" with an M dependency. Then the "P" or "D" line command can be used as follows:

  1. P(urge) will release successor events

  2. D(elete) will NOT release successor events

Note: The "*" line command together with option "HDEL" on the COMMAND input line should ONLY be used as very last resort. Doing this will only delete the EVT record, and all other supplementary elements (like PST or EXL) will become orphaned and could cause unpredictable or unwanted results. Furthermore, the utility GJTRJARC should be run soon afterwards with option CLEAN to remove all the orphaned records.