Hi,
You may want to set OVERDUE in your jobs. Any associated Resources with job will get released when the job has ran or completed. The best way to see what Resource has been released is to get job information.
Here are couple of examples of CLI commands that can tell you about Resources and Job status. The first command tells the status of Resource, and which job used them. The second command shows the Job state.
cli deserver 7500 nitin mypass 'LISTRESOURCESTATUS NAME("MY_RES_")'
Resource MY_RES_ Renewable
The resource is active.
Availability: 0
MaximumAvailability: 10
Used: 1
1 used by CLEANUP_TRACELOGS, application HOUSEKEEPING_UTILITY.159
Reserved: 0
Needed: 1
1 needed by CLEANUP_TRACELOGS, application HOUSEKEEPING_UTILITY.160
cli deserver 7500 nitin mypass 'LASTRUN JOB('CLEANUP_TRACELOGS') APPLICATION("HOUSEKEEPING_UTILITY")'
CLEANUP_TRACELOGS
Job type: UNIX
Start time:
End time:
Application: HOUSEKEEPING_UTILITY.160
State: RESWAIT <- You see here that Job is in RESWAIT
Completion Code:
You can mix and match the commands to see what suits you and you can even script the above commands.
Here is a link for more CLI details.
Thank you,
Nitin Pande
CA Technologies