IBM Support

PK60784: WHEN CREATING A STORED PROCEDURE AND USING A MODEL THAT USES A RESULT SET > 0, PARM IS OMITTED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool, when creating a Stored Procedure
    using a model with RESULT SET > 0, the parm gets omitted
    resulting in RESULT SET = 0.
    

Local fix

  • SET Definition SQL (CREATE, DROP, ALTER, RENAME,.) to YES.
    Edit the statement in panel ADB2PSTM and add RESULT SET nnnnn.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Admin Tool  720 who use         *
    *                 the CRE (Create Procedure)  line             *
    *                 command on a procedure on panel ADB21O.      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Create Procedure from panel ADB21O      *
    *                      is missing result set option.           *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    When issuing the CRE line command against a procedure
    on panel ADB21O ("create like") , if the value for RESULT SETS
    on panel ADB26COV is not changed, the generated SQL does not
    include the RESULT SETS option. Thus the default is used,
    instead of the value from the procedure used as a model.
    

Problem conclusion

  • The problem has been fixed for RESULT SETS as well as several
    other options that were affected. In addition, the following pro
    were fixed:
    1. When first ALTERing a procedure, then issuing CRE against it,
    panel ADB26COV remains in ALTER mode.
    2. If the PARAMETER CCSID field is left blank, the value last
    used for the optioin is used in the CREATE PROCEDURE statement,
    instead of allowing it to default.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK60784

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-08

  • Closed date

    2008-05-14

  • Last modified date

    2008-06-02

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

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

Modules/Macros

  •    ADB26COV
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK36478

       UP08/05/28 P F805

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

Document Information

Modified date:
02 June 2008