IBM Support

PQ33400: MSGDSNT408I SQLCODE -104 ILLEGAL SYMBOL"<END OF STATEMENT>" WHEN DEFINING A NEW REPORT WITH SQL STATEMENTS. QMF NOT USED.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Generating a new report with SQL, gets msgDSNT408I SQLCODE -104
    "illegal symbol <end of statement>" when trying to save the new
    defined report. The report is nevertheless saved, nad can be exe
    cuted later.
    

Local fix

  • as the report is saved, it can be executed later, but w/o
    editing the SQL statements (if edit is done, same error when
    saving the definitions).
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Performance Reporter users creating a    *
    *                 New Report definition without QMF.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: DSNT408I SQLCODE= -104, ERROR:          *
    *                      ILLEGAL SYMBOL "<END-OF-STATEMENT>".    *
    *                      SOME SYMBOL MIGHT BE LEGAL ARE: ).      *
    ****************************************************************
    * RECOMMENDATION: APPLY THE PTF FIXING THIS APAR               *
    ****************************************************************
    The Performance Reporter Parser, when QMF is not used, doesn't
    hanlde correctly some Reports Queries like the following:
    Ex:
    SELECT HEURE
     ,FLOAT(SUM(MSGQ_TRANSIT_SEC)/SUM(MSGQ_TRANSACTIONS))
       FROM (SELECT DIGITS(HOUR(TIME)) AS HEURE,
              MSGQ_TRANSIT_SEC, MSGQ_TRANSACTIONS
         FROM DRL.IMS_SYSTEM_Q
            WHERE TRANSACTION_CLASS LIKE '_6%') AS TEMP
       GROUP BY
             HEURE;
    more in general the clause WHERE in a SUBSELECT followed by a
    parenthesis and GROUP BY is not handled correctly causing the
    following error:
    MSGDSNT408I SQLCODE -104 ILLEGAL SYMBOL"<END OF STATEMENT>".
    

Problem conclusion

  • The problem has been addressed in module DRLEREPQ.
    201Y
    301Y
    401Y
    DRLEREPQ
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ33400

  • Reported component name

    EPDM VERSION 1

  • Reported component ID

    569510100

  • Reported release

    401

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    1999-12-06

  • Closed date

    2000-02-23

  • Last modified date

    2000-05-02

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

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

Modules/Macros

  • DRLEREPQ
    

Fix information

  • Fixed component name

    EPDM VERSION 1

  • Fixed component ID

    569510100

Applicable component levels

  • R201 PSY UQ40615

       UP00/04/11 P F004

  • R301 PSY UQ40616

       UP00/04/11 P F004

  • R401 PSY UQ40617

       UP00/04/11 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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS2DUM","label":"IBM Z Decision Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"401","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEQQC","label":"IBM Z Decision Support for Capacity Planning"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"401","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
02 May 2000