IBM Support

PK08537: DB2 V8 NFM - SQ COMMAND FOR PACKAGES CAN RESULT IN ERROR SYNTAX ERROR 40 IN PANEL ADB21KSQ

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 SQ command for packages can result in
    error message: Syntax error 40 in panel ADB21KSQ .
    .
    Error occurs on packages which were bound under prior DB2
    version, and migrated up to DB2 v8 NFM. Packages with STMT
    column length 254 in SYSIBM.SYSPACKSTMT are still in prior DB2
    version format: VARCHAR(254) .
    .
    Packages bound under DB2 v8 NFM use STMT column length
    VARCHAR(3500) and are processed successfully by SQ command.
    

Local fix

  • BIND package under DB2 v8
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool, who use    *
    *                 SQ commands from panel  or package panels    *
    *                 to view packages or plans bound in DB2 V8    *
    *                 in Compat or  Enabling New Function mode,    *
    *                 are affected.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Syntax logic errors were displayed when *
    *                      a statement spaned  multiple lines when *
    *                      in V8 CM or V8 ENF mode.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • The length of the text of a statement is logically limited to
    254 bytes even though the catalog row is a VARCHAR(3800).
    Code was attempting to determine the length based solely on
    the length of the catalog row and the DB2 release indicator.
    .*
    The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK08537

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-07-07

  • Closed date

    2005-08-29

  • Last modified date

    2005-10-04

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

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

Modules/Macros

  •    ADB2ELI  ADB21K   ADB21KSE ADB21KSQ ADB21L
    ADB21M   ADB21P
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R510 PSY UK06726

       UP05/09/15 P F509

  • R710 PSY UK06727

       UP05/09/15 P F509

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

Document Information

Modified date:
04 October 2005