IBM Support

PM30410: PARSER ERROR WITH MSG - SYNTAX ERROR DURING STATEMENT SCAN ERROR OCCURED WHEN PARSING THE FOLLOWING STMT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Object Compare Tool for z/OS compare can fail with a
    parser error.
    .
    Error messages may appear similar to the following:
    Syntax error during statement scan. Text=@ AS (SELECT * FROM ...
    Error occurred when parsing the following stmt :
    .
    CREATE TABLE ATSIGN@ AS (SELECT * FROM SYSIBM.SYSDUMMY1) ...
    .
    Additional symptoms may also occur: cc12 rc12 rc04 adb2pa5
      oncode8094
    ADBC034E - Program ADB2CMF detected an ONCODE condition 8094
               in STORE_TGT_VIEW
    .
    ADBC002E - Severe error. Compare terminates
    ADB2PA5 . TOKENIZE
    .
    and traceback info indicating module ADB2CMF,
    Entry          Statement  CU offset   Entry offset
    STORE_TGT_VIEW 15188      +00000882   +00000882     349B405A
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration or DB2       *
    *                 Object Comparison Tool for z/OS who are      *
    *                 on a DB2 system with SCSID <> 37, and get    *
    *                 a parser error for a statement that          *
    *                 contains a character with hex value '5B'x,   *
    *                 '7B'x, or '7C'x.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: According to the DB2 R810 SQL           *
    *                      Reference, Language Elements,           *
    *                      Characters, "DB2 accepts code points    *
    *                      X'5B', X'7B' and X'7C' for $, # and @   *
    *                      even if the CCSID that is specified is  *
    *                      not 37 or 500".  The parser did not     *
    *                      fully support this behavior.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following parser error was received:
    
    CREATE TABLE table_name@ AS (SELECT * FROM SYSIBM.SYSDUMMY1) ...
    .
    Additional symptoms may also occur: cc12 rc12 rc04 adb2pa5
    ADBC034E - Program ADB2CMF detected an ONCODE condition 8094
               in view_name
    .
    ADBC002E - Severe error. Compare terminates
    ADB2PA5 . TOKENIZE
    .
    and traceback info indicating module ADB2CMF
    

Problem conclusion

  • The parser has been enhanced to support code points X'5B',
    X'7B' and X'7C' for $, # and @ regardless of the CCSID used.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM30410

  • 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-01-12

  • Closed date

    2011-04-22

  • Last modified date

    2011-11-14

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

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

    UK67040 UK67039

Modules/Macros

  •    ADB2PA   ADB2PA5
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK67039

       UP11/04/27 P F104

  • R720 PSY UK67040

       UP11/04/27 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:
14 November 2011