SM75-02 TRGD-JOB NOT FOUND error during trigger deletion
search cancel

SM75-02 TRGD-JOB NOT FOUND error during trigger deletion

book

Article ID: 438701

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

When attempting to remove a job trigger relationship using a UPD,JTRG command via batch script (BTI), the command may fails with an error SM75-02 TRGD-JOB NOT FOUND.

Symptoms:

  • Batch UPD,JTRG commands fail with error SM75-02 TRGD-JOB NOT FOUND.
  • Online command LJOB returns JOB NOT FOUND for the triggered job. 
  • The triggering job still lists the deleted triggered job (from definition panel - DB.1) via online command: LJOB,JOB=triggering job,LIST=TRIG.

Environment

Release: 12.0, 12.1

Component: WA CA 7 Edition

Cause

Triggered job was deleted from the DB.1 panel before the trigger relationship in the DB.2.4 panel was removed, creating the phantom or orphaned reference.

Resolution

To resolve the phantom or orphaned reference, follow these steps:

  1. Re-add demised or triggered job: Temporarily re-add the demised job to the CPU Job Definition panel (DB.1). A basic definition is sufficient.
  2. Execute Deletion: Run the BTI script (e.g., UPD,JTRG,JOB=triggering_job,OPT=D,TJOB=demised_job) or use the DB.2.4 panel to delete the trigger reference.
  3. Verify Removal: Issue the online command LJOB,JOB=triggering_job,LIST=TRIG to confirm the reference is gone.
  4. Final Cleanup: Once verified, delete the demised or triggered job definition from the DB.1 panel.