IBM Support

PM96101: SQLCODEN551 IN BIND CAUSED SQLCODEN525 WHEN EXECUTING GEN MODULE ADB2REM.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS' sample GRANT job for
    DB2 10 does not include all of the DB2 10 DB2 Catalog tables
    referenced by the product.
    
    This causes the ADBBIND job to issue a SQLCODE -551/SQLCODEN551
    message however the BIND is successful.
    
    Execution of the ADB2REM program however fails with a SQLCODE
    -525 / SQLCODEN525.
    

Local fix

  • GRANT SELECT authority to PUBLIC for the tables:
    SYSIBM.SYSPENDINGDDL
    SYSIBM.SYSXMLTYPMSCHEMA
    SYSIBM.SYSCONTROLS
    SYSIBM.SYSTABLES_PROFILES
    SYSIBM.XSROBJECTS
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: When performing a migration to DB2      *
    *                      10 New Function Mode (NFM), and         *
    *                      executing the DDL line command on a     *
    *                      table space, the DB2 Administration     *
    *                      issues a SQLCODE=-525 / SQLCODEN525:    *
    *                                                              *
    *                      DSNT408I SQLCODE = -525,                *
    *                      ERROR:  THE SQL STATEMENT               *
    *                      CANNOT BE EXECUTED BECAUSE              *
    *                      IT WAS IN ERROR AT BIND TIME            *
    *                      FOR SECTION = 6 PACKAGE =               *
    *                      >ssid<.>package<                        *
    *                      DSNT418I SQLSTATE = 51015               *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When performing a migration to DB2 10 New Function Mode (NFM),
    and executing the DDL line command on a table space, the
    DB2 Administration issues a SQLCODE=-525 / SQLCODEN525:
    
    DSNT408I SQLCODE = -525, ERROR:  THE SQL STATEMENT CANNOT BE
    EXECUTED BECAUSE IT WAS IN ERROR AT BIND TIME FOR SECTION = 6
    PACKAGE =>ssid<.>package<
    DSNT418I SQLSTATE = 51015 SQLSTATE RETURN CODE
    

Problem conclusion

  • The following GRANT statements have been added to the
    SADBSAMP member ADBGC10:
    
    GRANT SELECT ON TABLE SYSIBM.SYSSEQUENCEAUTH TO PUBLIC  ;
    GRANT SELECT ON TABLE SYSIBM.SYSPENDINGDDL TO PUBLIC  ;
    GRANT SELECT ON TABLE SYSIBM.SYSXMLTYPMSCHEMA TO PUBLIC ;
    GRANT SELECT ON TABLE SYSIBM.SYSCONTROLS TO PUBLIC  ;
    GRANT SELECT ON TABLE SYSIBM.SYSTABLES_PROFILES TO PUBLIC ;
    GRANT SELECT ON TABLE SYSIBM.XSROBJECTS TO PUBLIC  ;
    
    Please re-submit ADBGC10 job.
    
    The following packages are affected:
    
    ADBTEPR, ADB2REM, ADB2REP, ADB2RER, ADB27SP, ADB2SQL.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM96101

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-29

  • Closed date

    2013-11-13

  • Last modified date

    2013-12-02

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

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

    UI12479 UI12480

Modules/Macros

  •    ADBGC10
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UI12479

       UP13/11/15 P F311

  • RA20 PSY UI12480

       UP13/11/15 P F311

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.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 December 2013