IBM Support

PI86411: COPY CATALOG JOB FAILS WITH SQLCODE 100 ON SYSPACKAGE; GEN TRUNCATES TS NAME IF > 8 CHARACTERS IN INPUT REQUESTNAME > 8 CHA

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Two issues are addressed:
    1. Catalog Copy fails when generating DDL because a
        package in SYSPACKDEP was not found in
        SYSPACKAGES.
       ADB1223E ADB2REP: Unexpected sqlcode in :
       Select syspackage
       DSNT404I SQLCODE = 100, NOT FOUND: ROW NOT
                FOUND FOR FETCH, UPDATE, OR DELETE,
                OR THE RESULT OF A QUERY IS AN EMPTY
                TABLE
    2. For a GEN request with DB='dbname',TS='toolongtsname'
       where the TS name is too long, processing continues with
       the TS name truncated to 8 characters without any error
       messages.
    

Local fix

  • For issue #1: Remove the REBIND option from the PARM field in:
      RUN PROGRAM(ADB2GEN) PARM('/ ...REBIND..'¿)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for         *
    *                 z/OS who use Catalog Copy or GEN             *
    *                 command.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Two issue are addressed:                *
    *                                                              *
    *                       1. Catalog Copy DDL creation stops     *
    *                          if a package cannot be found.       *
    *                       2. GEN truncates the table space       *
    *                          name if the input request contains  *
    *                          a table space name longer than      *
    *                          8 characters.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Two issues are addressed:
    
    1. Catalog Copy fails when generating DDL because a
       package in SYSPACKDEP was not found in
       SYSPACKAGES.
    
        ADB1223E ADB2REP: Unexpected sqlcode in :
        Select syspackage
    
      DSNT404I SQLCODE = 100, NOT FOUND: ROW NOT
         FOUND FOR FETCH, UPDATE, OR DELETE,
         OR THE RESULT OF A QUERY IS AN EMPTY
         TABLE
    
    2. For a GEN request with DB='dbname',TS='toolongtsname'
       where the TS name is too long, processing continues with
       the TS name truncated to 8 characters without any error
       messages.
    

Problem conclusion

  • The problems have been resolved. For catalog copy
    DDL creation, pacakages that are not in the Db2 catalog
    will be skipped. GEN will now write an error message
    and stop if a GEN request contains a DB and/or TS name
    that is longer than 8 characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI86411

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-28

  • Closed date

    2017-11-07

  • Last modified date

    2017-12-02

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

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

Modules/Macros

  •    ADB2REP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI51740

       UP17/11/11 P F711

  • RC10 PSY UI51741

       UP17/11/09 P F711

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

Document Information

Modified date:
02 December 2017