IBM Support

PI79956: DB2 ADMINISTRATION TOOL IMPORT OF A CREATE PROCEDURE GENERATES QUOTES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GOCCM import of a CREATE PROCEDURE script puts a variable in
    double quotes, which in sequence causes the execution of the
    change to fail with a -312.
    
    sqlerror on CREATE     command, EXECUTE    function
      DSNT408I SQLCODE = -312, ERROR:  VARIABLE l_invPendSess IS
                         NOT DEFINED OR NOT USABLE
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for z/OS    *
    *                 who use GOCCM to import a CREATE PROCEDURE   *
    *                 statement.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Double quotes are erroneously added     *
    *                      to the SQL variable inside the SET      *
    *                      clause when executing a CREATE          *
    *                      PROCEDURE statement causing a           *
    *                      SQLCODE = -312 / SQLCODEN312            *
    *                      error.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the CREATE PROCEDURE statement has the SIGNAL statement
    and SET clause, double quotes are erroneously added to the
    SQL variable inside the SET clause. The execution of the
    CREATE PROCEDURE statement fails with a SQLCODE = -312 /
    SQLCODEN312:
    
    sqlerror on CREATE command, EXECUTE function
    DSNT408I SQLCODE = -312, ERROR: VARIABLE
     >variable< IS NOT DEFINED OR NOT USABLE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI79956

  • 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-04-13

  • Closed date

    2017-05-17

  • Last modified date

    2017-06-02

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

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

    UI47325

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI47325

       UP17/05/19 P F705

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 June 2017