IBM Support

PM31701: COMMENT ON COLUMN <SCHEMA>.<TABLENAME>.<COLUMN> MISSING ACTUAL COMMENT RESULTS IN SQLCODEN104

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Object Comparison Tool for z/OS builds the COMMENT ON
    COLUMN syntax without the actual comment itself resulting in a
    SQLCODE -104 when executed.
    .
    Additional symptoms: oncode350
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who compare views with comments on      *
    *                 columns.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool for      *
    *                      z/OS builds the COMMENT ON COLUMN       *
    *                      syntax without the actual comment       *
    *                      itself, resulting in a SQLCODE -104/    *
    *                      SQLCODEN104 when executed:              *
    *                                                              *
    *                      DSNT408I SQLCODE = -104, ERROR:         *
    *                      ILLEGAL SYMBOL                          *
    *                      "<END-OF-STATEMENT>". SOME              *
    *                      SYMBOLS THAT MIGHT BE LEGAL             *
    *                      ARE: . IS                               *
    *                                                              *
    *                      DSNT418I SQLSTATE   = 42601             *
    *                      SQLSTATE RETURN CODE                    *
    *                      DSNT415I SQLERRP                        *
    *                      = DSNHPARS SQL PROCEDURE                *
    *                      DETECTING ERROR                         *
    *                                                              *
    *                      An ONCODE=350 in                        *
    *                      STACK_ALTER_DDL is                      *
    *                      encountered.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool assumed that a comment on a view
    column could be contained on one line. The result was a
    truncated COMMENT ON COLUMN statement.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM31701

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-01

  • Closed date

    2011-04-01

  • Last modified date

    2011-10-05

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

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

Modules/Macros

  •    ADB2CMP  ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK66440

       UP11/04/08 P F104

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

Document Information

Modified date:
05 October 2011