IBM Support

PM42840: ANALYZE WITH UO OPTION R ON RUNSTATS FAIL ON VALIDATE WSL WITH SQLCODEN104

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 for z/OS, using Change Management
    with VALIDATE WSL = Y, RUNSTATS = B and UO for Runstats
    SHRLEVEL set to R, Analyze job fails with sqlcode = -104.
    .
    Message in joblog as follows:
    DSNT408I SQLCODE = -104, ERROR:  ILLEGAL SYMBOL "SHRLEVEL". SOME
    SYMBOLS THAT MIGHT BE LEGAL ARE: <ERR_STMT> <WNG_STMT>
    GET SQL SAVEPOINT HOLD FREE ASSOCIATE
    DSNT418I SQLSTATE   = 42601 SQLSTATE RETURN CODE
    DSNT418I SQLSTATE   = 42601 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNHPARS SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = 3  0  0  -1  3  502 SQL DIAGNOSTIC
    INFORMATION
    DSNT416I SQLERRD    = X'00000003'  X'00000000'  X'00000000'
    X'FFFFFFFF' X'00000003'  X'000001F6' SQL DIAGNOSTIC INFORMATION
    .
    Additional Symptoms: sqlcoden104 rc8
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool and     *
    *                 the DB2 Object Comparison Tool for z/OS      *
    *                 who generate the RUNSTATS utility steps      *
    *                 using custom utility options.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Custom utility options are echoed       *
    *                      twice to the generated utility job      *
    *                      which can result in utility errors.     *
    *                      An example is:                          *
    *                                                              *
    *                      DSNU049I DSNUGPRS - INVALID             *
    *                      OPERAND 'YES' FOR KEYWORD               *
    *                      'REPORT.                                *
    *                                                              *
    *                      The message will vary depending on the  *
    *                      redundant utility option being          *
    *                      generated. In Change Management, this   *
    *                      problem can result in error:            *
    *                                                              *
    *                      ADBC099E : WSL mismatch.                *
    *                      The WSLs did not compare equally.       *
    *                                                              *
    *                      This error will occur during runtime    *
    *                      ANALYZE when you attempt to run         *
    *                      the change.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Custom utility options are echoed twice to the generated
    utility job which can result in utility errors.  In Change
    Management, this problem can result in a MSGADBC099E error:
    
    ADBC099E : WSL mismatch. The WSLs did not compare equally.
    

Problem conclusion

  • Problem has been resolved.  You can manually remove the
    redundant utility options from the RUNSTATS utility or
    re-generate the job. In the case of Change Management, you
    can re-analyze the change and then proceed normally.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42840

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-30

  • Closed date

    2011-08-22

  • Last modified date

    2011-09-02

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

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

    UK71062

Modules/Macros

  •    ADBCCMM  ADBTRUN  ADB2CMF
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK71062

       UP11/08/24 P F108

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

Document Information

Modified date:
02 September 2011