IBM Support

PM05496: GEN'ED TRIGGER SQLCODEN104 DUE TO EXTRA SPACES BETWEEN THE CONCATENATION CHARACTER AND A QUOTED SEMICOLON

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 for z/OS' GEN command built invalid
    DDL for a TRIGGER which contained:
    'ADDED' ||';'|| '' ||';'|| 'TEST11', without spaces between the
    concatenation character and the quoted semicolon.
    
    The created DDL contained spaces between the concatenation
    concatenation character and the quoted semicolon which results
    in a SQLCODE -104 when executed.
    

Local fix

  • Edit the DDL to remove the spaces.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool             *
    *                 for z/OS attempting to perform the           *
    *                 GEN command on a Triggered-                  *
    *                 SQL-statement that contains                  *
    *                 the Concat operator following                *
    *                 a string semicolon.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: When performing the GEN                 *
    *                      command on a triggered-                 *
    *                      SQL-statement that contains             *
    *                      an extra space between the              *
    *                      concat operator and a string            *
    *                      semicolon results in                    *
    *                      SQLCODE  -104.                          *
    *                                                              *
    *                      This is a DB2 error and                 *
    *                      will be addressed in the                *
    *                      DB2 10 release when it is               *
    *                      available.                              *
    *                                                              *
    *                      This apar fixes error                   *
    *                      introduced by the formatter:            *
    *                      extra space between the                 *
    *                      concat operator and a string            *
    *                      semicolon.                              *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The formatter introduces extra space between the
    concat operator and a string semicolon.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05496

  • 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

    2010-01-19

  • Closed date

    2010-04-22

  • Last modified date

    2010-05-04

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

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

Modules/Macros

  •    ADB2FMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK56307

       UP10/04/28 P F004

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:
04 May 2010