IBM Support

PM79009: WHEN ALTERING A TABLE, THE JOB OUTPUT LISTS RC0 EVENTHOUGH AN SQLCODE=-805 IS ISSUED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When performing an ALT on the DB2 sample table DEPT and dropping
    two columns, the job passes with a return code 0 eventhough
    there is an SQLCODE=-805 error in the job.  The job should have
    failed with return code 8 due to the SQL error.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Generate (GEN) function.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: In DB2 Administration Tool for z/OS,    *
    *                      when users use the GEN function, the    *
    *                      job output lists RC0 / Return Code 0    *
    *                      even though program ADB2ZP returns an   *
    *                      SQLCODE=-805 / SQLCODEN805 error:       *
    *                                                              *
    *                      DSNT408I SQLCODE = -805, ERROR:         *
    *                      DBRM OR PACKAGE NAME                    *
    *                      >ssid<..ADB2ZP.193DB54A0DF29174         *
    *                      NOT FOUND IN PLAN >planname<.           *
    *                      REASON 03                               *
    *                      DSNT418I SQLSTATE   = 51002             *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In DB2 Administration Tool for z/OS, when users use the GEN
    function, the job output lists RC0 / Return Code 0 even though
    program ADB2ZP returns an SQLCODE=-805 / SQLCODEN805.
    

Problem conclusion

  • Problem has been resolved. When users use the GEN function, the
    job output lists RC1000 / Return Code 1000 and issues an error
    message ADB1951E when program ADB2ZP returns a SQLCODE=-805 /
    SQLCODEN805.
    
    If an error occurs when calling program ADB2ZP to get DSNZPARM
    parameters via the DB2 supplied stored procedure
    SYSPROC.DSNWZP, the following error message will be issued:
    
    ADB1951E
      An error occurred when the GEN component called the
    ADB2ZP program to get the DB2 system parameter (DSNZPARM)
    values.
    
    System action:
      No system action is taken.
    
    User response:
      See the error that was written in the log file by the
    ADB2ZP program. Resolve the problem and retry.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79009

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-12

  • Closed date

    2013-05-14

  • Last modified date

    2013-06-04

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

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

    UK93044 UK93664

Modules/Macros

  • ADB1000  ADB2RE   ADB2REE  ADB2REZ
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK93044

       UP13/05/28 P F305

  • RA20 PSY UK93664

       UP13/05/28 P F305

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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 June 2013