IBM Support

PK33855: SQLCODE104 USING UR LINE COMMAND FROM PANEL ADB21T

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool, using UR line command to update
    runstats statistics from panel adb21t fails with sqlcode104
    -104 sqlcoden104 . Error messages appear similar to:
    .
    SQLCODE : -104 DSNTIAR CODE : 0
    .
    
    DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL ".". SOME SYMBOLS
    THAT MIGHT BE LEGAL ARE: ( FINAL TABLE <IDENTIFIER>
    DSNT418I SQLSTATE = 42601 SQLSTATE RETURN CODE
    DSNT415I SQLERRP = DSNHPARS SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD = 502 0 0 -1 328 0 SQL DIAGNOSTIC INFORMATION
    DSNT416I SQLERRD = X'000001F6' X'00000000' X'00000000'
    X'FFFFFFFF'
    X'00000148' X'00000000' SQL DIAGNOSTIC INFORMATION
    

Local fix

  • Customer found changing &runstats to &sysibm in the following
    statement resolved the issue:
    .
     FROM &db2alocp.&runstats..SYSTABLES C &adbnl +
    to
     FROM &db2alocp.&sysibm..SYSTABLES C &adbnl +
    .
    Line 1237 in customer's level of panel adb21t.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Admin Tool who issue the UR     *
    *                 line command from ADB21T.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Issuing UR line command on table from   *
    *                      ADB21T results in sqlcode = -104.       *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF.                               *
    ****************************************************************
    Creator for the view on  SYSTABLES was not set, leading to a
    syntax error. ADB21TUR should set creator if needed,and test
    for existence of RUNSTATS.SYSTABLES view.
    

Problem conclusion

  • The problem has been fixed.  Panel ADB21TUR will issue message
    ADB317 if the RUNSTATS.SYSTABLES  view does not exist; this is
    consistent with other invocations of the UR command (i.e, from
    ADB21X). In addition, NPAGES is removed from ADB21TUR, as it's
    not needed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK33855

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-10-30

  • Closed date

    2007-06-29

  • Last modified date

    2007-09-04

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

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

Modules/Macros

  •    ADBFB2VB ADB2MISC ADB21T   ADB21TUR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK26723

       UP07/08/09 P F708

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

Document Information

Modified date:
04 September 2007