IBM Support

PK46622: EXPLAIN FUNCTION FAILS SQLCODEN104 WITH FORSELECT / FORINSERT WHEN SQL IS IN COBOL AREA-A

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool 'Run or Explain SQL Statements'
    function executed from panel ADB222 fails with a SQLCODE -104
    when the SQL text is in COBOL area-a ( the EXEC SQL and END-EXEC
    statements are correctly positioned in COBOL area-b ) and
    points to an ILLEGAL SYMBOL FORINSERT / FORSELECT type string.
    Additional search args:
    SQLCODEN104 SQLCODE104N
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Admin Tool.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: EXPLAIN Function fails SQLCODEN104 with *
    *                      FORSELECT / FORINSERT  when  SQL  is in *
    *                      COBOL AREA-A.                           *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • The problems have been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK46622

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-06-06

  • Closed date

    2007-10-11

  • Last modified date

    2007-11-02

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

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

Modules/Macros

  •    ADB2A2WS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK30219

       UP07/10/25 P F710

  • R720 PSY UK30220

       UP07/10/25 P F710

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

Document Information

Modified date:
02 November 2007