Below is a cheat sheet for batch status numbers & their descriptions:
There are several use cases for querying the QUEUEDJOB table in GEN in order to get batch job details, such as status and run times. The status is stored as a numeric value, not the actual status that is seen in the GUI. It can also be useful to be able to map it to the description. Here are the batch job status numbers with their descriptions:
# 0 – Running
# 30 – Waiting
# 31 – Waiting Step
# 32 – Waiting On Time
# 33 – Waiting Recovery
# 34 – Needs Recovery
# 35 – Invalid Parameters
# 36 – Queue Inactive
# 37 – On Hold
# 60 – Recurring Skipped
# 61 – Recovery Deleted
# 62 – Cancelled
# 63 – Normal Completion