The DS_AUDIT table in the DataStage repository stores audit trail information about job modifications and other metadata changes. DS_JOBDETAILS stores static job definitions, not modification history. The correct query filters by INSTANCE (job name).