IBM Support

PK33710: SQLCODE104 FROM ALC ALTER COLUMN / COMMENT ON COLUMN

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 ALC line command created ALTER
    statement fails with SQLCODE -104 when a COMMENT on a column
    contains an embedded quote e.g:
    COMMENT ON aaa.aaa
    ("COLUMN1" IS 'A UNIQUE NUMBER WHICH IDENTIFIES A SUBSCRIBER'S
    CONTRACT.');
    Additional search args:
    SQLCODEN104 SQLCODE104N DOUBLE QUOTE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users altering columns that have         *
    *                 comments containing embedded quotation.      *
    ****************************************************************
    * PROBLEM DESCRIPTION: DB2 requires doubled apostrophes to     *
    *                      input a single apostrophe ("DON''T"     *
    *                      becomes  "DON'T").  When altering a     *
    *                      column, the double apostrophe was not   *
    *                      being taken into consideration.         *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Corrected the handling of quotation marks (apostrophes) so that
    imbedded marks are doubled.  ("DON'T" -> "DON''T").
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK33710

  • 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

    2006-10-27

  • Closed date

    2007-03-28

  • Last modified date

    2007-05-02

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

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

Modules/Macros

  •    ADB27DUP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK23473

       UP07/04/06 P F704

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 May 2007