IBM Support

PI40193: DB2 ADMINISTRATION TOOL FOR Z/OS ISSUES SQLCODE = -204 SQLCODEN204 WHEN OWNER AND SCHEMA NAMES HAVE DIFFERENT VALUES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Administration Tool for z/OS issues SQLCODE = -204
    SQLCODEN204 when Owner and Schema names have different values
    for CM and Checkpoint objects during customization process
    using IBM Tools Customizer for z/OS
    

Local fix

  • As a work-around to avoid the -204 please ensure that
    input fields "Owner name" and "SET CURRENT SCHEMA" have the same
    value as shown below:
    *Change Management database . . . . . . . YES (YES, NO)
      Owner name . . . . . . . . . . . . . . . ADB
      SET CURRENT SCHEMA . . . . . . . . . . . ADB
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS and IBM Tools Customizer for z/OS.      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The following issues have been          *
    *                      resolved:                               *
    *                                                              *
    *                      1. When using DB2 Admin and the IBM     *
    *                      Tools Customizer for z/OS, if the       *
    *                      value for the Change Management         *
    *                      'Owner name' and 'SET CURRENT           *
    *                      SCHEMA' option are different            *
    *                      on panel CCQPPRD 'Product               *
    *                      Parameters':                            *
    *                                                              *
    *                      * Admin Tool Setup Task (Create         *
    *                        and Upgrade)                          *
    *                        * Customize                           *
    *                         *Change Management                   *
    *                             database . . . .YES (YES, NO)    *
    *                          Owner name . . . . . . .XXX         *
    *                          SET CURRENT SCHEMA . .ADB           *
    *                          Database name  . . . ADBDCHG        *
    *                                                              *
    *                      upon invocation of Change               *
    *                      Management option 5 'Manage ID          *
    *                      table' from panel ADB2C 'Change         *
    *                      Management (CM)', a SQLCODE=-204 /      *
    *                      SQLCODEN204 is observed:                *
    *                                                              *
    *                      DSNT408I SQLCODE = -204,                *
    *                      ERROR: XXX.ADBCID IS AN                 *
    *                      UNDEFINED NAME                          *
    *                      DSNT418I SQLSTATE   = 42704             *
    *                      SQLSTATE RETURN CODE                    *
    *                                                              *
    *                      2.  When input put field 'BIND OWNER'   *
    *                      on panel CCQPPRD 'Product Parameters'   *
    *                      is non-blank, the BIND step in the      *
    *                      generated job template ADBSETUP         *
    *                      'Admin Tool Setup Task' does not        *
    *                      include the keyword OWNER() for the     *
    *                      BIND PACKAGE statement.                 *
    *                                                              *
    *                      3.  When using GrpAttch (Group          *
    *                      Attach), job template ADBBIND is        *
    *                      generated per SSID instead of per       *
    *                      Group Attach Name.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following issues have been resolved:
    
    1. When using DB2 Admin and the IBM Tools Customizer for z/OS,
    if the value for the Change Management 'Owner name' and 'SET
    CURRENT SCHEMA' option are different on panel CCQPPRD
    'Product Parameters', upon invocation of Change Management
    option 5 'Manage ID table' on panel ADB2C 'Change Management
    (CM)', a SQLCODE=-204 / SQLCODEN204 is observed.
    
    2.  When input put field 'BIND OWNER' on panel CCQPPRD
    'Product Parameters' is non-blank, the BIND step in the
    generated job template ADBSETUP 'Admin Tool Setup Task' does
    not include the keyword OWNER() for the BIND PACKAGE statement.
    
    3.  When using GrpAttch (Group Attach), job template ADBBIND
    is generated per SSID instead of per Group Attach Name
    

Problem conclusion

  • The problems have been resolved.
    
    Instructions:
    
    1. Using IBM Tools Customizer for z/OS, navigate to panel
    CCQPWRK 'Customizer Workplace: DB2 Admin Tool' and issue
    line command 'G' to re-generate job template ADBSETUP 'Admin
    Tool Setup Task'.
    
    2. Submit the template ADBSETUP 'Admin Tool Setup Task' job.
    
    Note in the BIND step that the OWNER() keyword should now
    appear for the BIND PACKAGE statement when input field
    'BIND OWNER' has a value on panel CCQPPRD 'Product Parameters'.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI40193

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-30

  • Closed date

    2015-05-27

  • Last modified date

    2015-06-01

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

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

    UI27951

Modules/Macros

  •    ADB$$PRM ADB$$SEQ ADBBIND  ADBCMBIV ADBCUST
    ADBEDIAG ADBR     ADBSETUP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI27951

       UP15/05/29 P F505

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

Document Information

Modified date:
01 June 2015