IBM Support

JR39388: ORACLE ENTERPRISE READ STAGE FILTER CLAUSE WITH LINE COMMENTS MAY CAUSE ORA-00907: MISSING RIGHT PARENTHESIS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Oracle Enterprise operator is enclosing the WHERE clause of the
    SQL query by parenthesis. If the last line of the WHERE clause
    is a comment line (begining by --), the closing parenthesis is
    added as part of the comment.
    This is causing an incorrect SQL query which produces the error:
    "ORA-00907: missing right parenthesis"
    

Local fix

  • Remove comment line the SQL query or add a cariage return after
    the last comment line.
    

Problem summary

  • Oracle EE stage is inserting parentheses around the user
    WHERE clause statement.
    If a line comment was included in the user
    WHERE clause, the closing parenthesis was commented out.
    

Problem conclusion

  • As of this fix, the Oracle EE stage is inserting a new-line
    before inserting the closing parenthesis. That way the line
    comment will not be inserted on the same line as the
    closing parenthesis.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR39388

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-12

  • Closed date

    2011-05-03

  • Last modified date

    2011-05-03

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

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

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R810 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1"}]

Document Information

Modified date:
06 October 2021