IBM Support

PK15564: ADMIN GEN COMMAND ISSUES AN INVALID <SELECT> AFTER CREATE VIEW MESSAGE FOR VIEW DEFINED WITH AS WITH COMMON-TABLE-EXPRESSION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The GEN command issue a message Invalid <Select> after
    CREATE VIEW for views defined with the AS WITH common-table-expr
    ession.
    Example:
    CREATE VIEW view (COL1,COL2) AS WITH something ( COL1, COL2 ) AS
    SELECT COL1, COL2 FROM table
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool,  who       *
    *                 use DB2 Version 8 syntax  for views  -       *
    *                 WITH common-table-expression -, may be       *
    *                 affected.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: A  GEN command against VIEW with common *
    *                      table  expression failed with a message *
    *                      "Invalid <Select>  after  CREATE VIEW". *
    *                      .*                                      *
    *                      Note:  PK15564  was created for release *
    *                      510, the fix is provided in release 710 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The GEN command issued a  message Invalid <Select> after CREATE
    VIEW for views defined with the AS WITH common-table-expression
    

Problem conclusion

  • CREATE VIEW with < WITH common-table-expression > triggered a
    Parser error. The reported problem has been corrected in R710.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK15564

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-11-21

  • Closed date

    2006-02-19

  • Last modified date

    2006-03-02

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

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

Modules/Macros

  •    ADB2PA   ADB2PA3
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK11950

       UP06/03/01 P F602

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":"5.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 March 2006