IBM Support

PM59521: BUILD JOB ENDS WITH RC=6 AFTER -805 SQL ERROR ( SQLCODE805 )

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An Automation Tool build job ends with RC=6 after a -805 SQL
    code.  RC=6 should indicate that the job completed normally,
    but no objects were selected.  Application of this APAR will
    result a RC=8 in batch if the 'Generate Job when Errors
    encountered' parameter is set to 'Y' and RC=12 if the parameter
    is set to 'N'.  An online build that receives a -805 error
    will result in RC=12
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Automation Tool.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: An Automation Tool build job ends with  *
    *                      RC=6 after a -805 SQL code.  RC=6       *
    *                      should indicate that the job completed  *
    *                      normally, but no objects were selected. *
    *                      Application of this APAR will result a  *
    *                      RC=8 in batch if the 'Generate Job when *
    *                      Errors encountered' parameter is set    *
    *                      to 'Y' and RC=12 if the parameter       *
    *                      is set to 'N'.  An online build that    *
    *                      receives a -805 error will result in    *
    *                      RC=12                                   *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM59521

  • Reported component name

    DB2 AUTOMATION

  • Reported component ID

    5697G6300

  • Reported release

    310

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-01

  • Closed date

    2012-05-21

  • Last modified date

    2012-06-03

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

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

    UK78915 UK78916

Modules/Macros

  • HAA#UPRI
    

Fix information

  • Fixed component name

    DB2 AUTOMATION

  • Fixed component ID

    5697G6300

Applicable component levels

  • R310 PSY UK78915

       UP12/05/25 P F205

  • R410 PSY UK78916

       UP12/05/25 P F205

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUWB","label":"IBM Db2 Automation Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 February 2021