IBM Support

PM30841: 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.
    OC will report the parser issue like it is today.
    The fix will be to not process the view in error
    and therefore avoid OC termination.
    .
    Error messages may appear similar to the following:
    .
    Parsing of target view failed
    View will be kept unchanged. Please check view definition
    ADB2PA5.TOKENIZE
    Syntax error during statement scan. Text=@
    ADB2PA5: The following statement could not be parsed :
    .
    CREATE VIEW TESTVIEW1 AS SELECT * FROM ATSIGN1@
    .
    ADB0351E  Module : ADB2CMP detected an ONCODE condition 8094 At
             CREATE_VIEWS
    Additional symptoms may also occur: cc12 rc12 rc04 msgadb0351e
    msgadbc002e
    ADBC002E - Severe error. Compare terminates
    .
    Traceback info indicating module ADB2CMP,
    Entry          Statement  CU offset   Entry offset
    CREATE_VIEWS   5193       +00002E72   +00002E72
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who include views existing on the       *
    *                 target only in the compare process and set   *
    *                 the 'Suppress DROP of objects' option to     *
    *                 'YES'.                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the 'Suppress DROP of objects'     *
    *                      option is set to 'YES' and a view is    *
    *                      only on the target,  the DB2 Object     *
    *                      Comparison Tool tries to process the    *
    *                      view even when the parsing of the view  *
    *                      fails.  This can lead to the error      *
    *                      message ADB0351E, which reports an      *
    *                      ONCODE8094:                             *
    *                                                              *
    *                      ADB0351E  Module : ADB2CMP              *
    *                      detected an ONCODE condition 8094       *
    *                      At  CREATE_VIEWS                        *
    *                      Additional symptoms may also            *
    *                      occur: cc12 rc12 rc04 msgadb0351e       *
    *                      msgadbc002e                             *
    *                      ADBC002E - Severe error. Compare        *
    *                      terminates                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool is trying to process the target
    view which needs to be kept even when the parsing of the view
    fails.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM30841

  • 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-19

  • Closed date

    2011-05-20

  • Last modified date

    2011-06-02

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

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

Modules/Macros

  •    ADB2CMF
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK67980

       UP11/05/26 P F105

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:
02 June 2011