IBM Support

PK95046: GEN NSP MISSING SEMI-COLON AFTER SQL_PROCEDURE_STATEMENT STORED PROCEDURE "TOKEN = EXCEPTION"

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS GEN function issues the
    message:
      Missing semi-colon after sql_procedure_statement
    
      Error occured when parsing the following stmt :
    with additional message:
    Token number =    nnn, Token = EXCEPTION
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool who use     *
    *                 the GEN or DDL command to generate DDL for   *
    *                 a native SQL procedure that contains a GET   *
    *                 DIAGNOSTICS statement.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: A parser error starting with the        *
    *                      following text appears and the job      *
    *                      ends with RC=8:                         *
    *                                                              *
    *                      Missing semi-colon after                *
    *                      sql_procedure_statement                 *
    *                                                              *
    *                      Error occurred when parsing the         *
    *                      following stmt :                        *
    *                                                              *
    *                      <one of your native SQL procedure       *
    *                      statement containing a GET              *
    *                      DIAGNOSTICS statement>                  *
    *                      Token number =  nnn, Token = EXCEPTION  *
    ****************************************************************
    * RECOMMENDATION: Apply The PTF.                               *
    ****************************************************************
    The Admin parser did not fully support the alternate syntax of
    EXCEPTION for CONDITION in the GET DIAGNOSTICS statement.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK95046

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-28

  • Closed date

    2009-10-20

  • Last modified date

    2009-11-04

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

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

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R720 PSY UK51207

       UP09/10/27 P F910

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

Document Information

Modified date:
04 November 2009