IBM Support

JR34329: "DSJOB -RUN -JOBSTATUS" RETURNED "21" EVEN IF AN ACTUAL JOB WORKED FINE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The command "dsjob -run -jobstatus" incorrectly returns job
    status code DSJS_RESET (21).
    

Local fix

  • No workaround available.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Pre-8.0.1 Fix Pack 3 DataStage users that reset jobs before
    running them.
    ****************************************************************
    PROBLEM DESCRIPTION:
    The command to reset a job, "dsjob -run -mode RESET ...", will
    return the status code DSJS_RESET (21) if successful.
    The command to run a job, "dsjob -run -jobstatus ..." should
    return status code DSJS_RUNOK (1) if the job ran successfully.
    However, when the run command is immediately preceded by the
    reset command the run command may incorrectly return DSJS_RESET.
    The incorrect code was being returned because the DSRunJob code
    had a start constraint which was too weak and allowed the
    controller job/process to proceed before the reset processing
    had completed.
    ****************************************************************
    RECOMMENDATION:
    Apply the patch for JR34329. This patch is included in 8.0.1 Fix
    Pack 3.
    ****************************************************************
    

Problem conclusion

  • The code in DSRunJob was revised to ensure that a previous job
    reset has completed before the job is run.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR34329

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-22

  • Closed date

    2011-05-04

  • Last modified date

    2011-05-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R753 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 October 2021