IBM Support

PH04050: ADMIN TOOL STORED PROCEDURES GRANTOR SQLCODE -199 SQLCODEN199 ILLEGAL USE OF KEYWORD T

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If 'O' (Stored Procedures) is selected on panel ADB21, with
    a Grantor specified, a SQLCODE -199 / SQLCODEN199 error may
    occur:
        SQLCODE : -199                           DSNTIAR CODE :  0
     DSNT408I SQLCODE = -199, ERROR:  ILLEGAL USE OF KEYWORD T.
    TOKEN SELECTIVITY
              AND OR HAVING GROUP INTERSECT ORDER FETCH EXCEPT WAS
    EXPECTED
     DSNT418I SQLSTATE   = 42601 SQLSTATE RETURN CODE
     DSNT415I SQLERRP    = DSNHPARS SQL PROCEDURE DETECTING ERROR
     DSNT416I SQLERRD    = 2  0  0  -1  211  506 SQL DIAGNOSTIC
    INFORMATION
     DSNT416I SQLERRD    = X'00000002'  X'00000000'  X'00000000'
    X'FFFFFFFF'
              X'000000D3'  X'000001FA' SQL DIAGNOSTIC INFORMATION
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS.                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE=-199 while issuing Option 'O'   *
    *                      and specifying "grantor" on panel       *
    *                      ADB21.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Selecting option 'O' - Stored procedures from panel ADB21,
    while also specifying a grantor in the "Grantor" field,
    may result in an SQLCODE=-199 error such as the following:
    
      SQLCODE : -199 DSNTIAR CODE : 0
    
     DSNT408I SQLCODE = -199, ERROR: ILLEGAL USE OF
     KEYWORD T. TOKEN SELECTIVITY AND OR HAVING
     GROUP INTERSECT ORDER FETCH EXCEPT WAS EXPECTED
     DSNT418I SQLSTATE = 42601 SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH04050

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-12

  • Closed date

    2018-12-20

  • Last modified date

    2019-01-02

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

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

    UI60411 UI60412

Modules/Macros

  •    ADB21
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI60411

       UP18/12/25 P F812

  • RC10 PSY UI60412

       UP18/12/25 P F812

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

Document Information

Modified date:
02 January 2019