IBM Support

PH37528: DB2 ADMIN TOOL: GEN ADB2PA PARSER ERROR ON STRING UNIT SPECIFICATIONS: CODEUNITS32, CODEUNITS16, OCTETS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 Admin tool: Gen may report a parser error on string unit
    specifications: CODEUNITS32, CODEUNITS16, OCTETS
    
    For example:
    
    
    Unexpected token after CHAR(... - expected right paren
    
    ADB2PA: The following statement could not be parsed :
    
    CREATE TRIGGER trig1 AFTER INSERT
    ON a.t1
    REFERENCING NEW AS NEWROW FOR EACH ROW MODE DB2SQL
    
    etc.  followed by
    
    Token number =    159, Token = CODEUNITS16
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS Reverse Engineering (GEN) function      *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN fails with a parser error on        *
    *                      string unit specifications.             *
    ****************************************************************
    When processing built-in string types, such as CHAR, and a
    string unit specification, such as CODEUNITS16, CODEUNITS32,
    or OCTETS, GEN might fail with a parser error.
    
    Example error:
    
    Unexpected token after CHAR(... - expected right paren
    
    ADB2PA: The following statement could not be parsed
    
    (and after hitting enter:)
    
    Token number = nnn, Token = CODEUNITS16
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH37528

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-25

  • Closed date

    2021-08-26

  • Last modified date

    2021-09-01

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

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

    UI76933

Modules/Macros

  • ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI76933

       UP21/08/28 P F108

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
02 September 2021