Jobs that are triggered via Automatic Dataset Recognition (ADR) or DSN triggers remain in "AWAITING RERUN" status even after the RAMAXCC parameter in the JOBTRA00 was increased. Jobs are finishing with condition codes that should be acceptable based the value set for RAMAXCC, but the status does not reflect a successful completion.
The RAMAXCC startup parameter in the JOBTRA00 options member is designed to apply only when a job is added to the schedule manually using the ADD or RUN commands. When a job is initiated automatically via an ADR trigger, Jobtrac defaults the Maximum Condition Code to 0000, regardless of the global RAMAXCC value
The RAMAXCC applies when the ADD or RUN command is issued in Jobtrac via the ISPF online command. When a job is triggered via ADR with the action of RUN, the Maximum CC value is typically observed to be 00, regardless of the RAMAXCC setting in the JOBTRA00 member. To ensure that ADR-triggered jobs respect specific condition codes, you must define the requirements at the Schedule Control Language (SCL) level: