IBM Support

PH07367: MSGDSNT038I DSNT038I DSNTRVFY - THE WLM ENVIRONMENT XXXXXXXX IS NOT AVAILABLE WHEN A LARGE NUMBER OF WLM ENVS DEFINED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSNT038I DSNTRVFY - THE WLM ENVIRONMENT xxxxxxxx IS NOT
    AVAILABLE
    The above message is issued even though the z/OS command
    -D WLM,APPLENV=xxxxxxxx
    shows that the APPLENV is defined.
    This happens when a large number of WLM environments defined
    in system. The reported case has 700 WLM environments defined.
    

Local fix

  • Use a smaller number of WLM enviornments.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Db2 12 for z/OS users of job DSNTIJRV,                   *
    * program DSNTRVFY, the validation                             *
    * tool for DB2-supplied stored procedures                      *
    * and user-defined functions (UDFs).                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When the job DSNTIJRV is submitted                           *
    * on a system where a large number of                          *
    * WLM environments are defined,                                *
    * the following message may appear                             *
    * in the output:                                               *
    * DSNT038I DSNTRVFY - THE WLM                                  *
    * ENVIRONMENT xxxxxxxx IS NOT                                  *
    * AVAILABLE                                                    *
    * Also, the preceding DSNT028I message                         *
    * indicates a blank STATE and NUMTCB                           *
    * of 0 for the WLM environment:                                *
    * DSNT028I DSNTFVFY - WLM ENVIRONMENT                          *
    *          DETAILS                                             *
    *             NAME       xxxxxxxx                              *
    *             PROC       pppppppp                              *
    *             STATE                                            *
    *             NUMTCB     0                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply corrective PTF when available                          *
    ****************************************************************
    Currently, the program DSNTRVFY allocates a 32K buffer to
    store the output of the DISPLAY WLM,APPLENV=* command.
    If the command output is larger than 32K, information for one
    or more WLM application environments is lost. In this case,
    when the program DSNTRVFY attempts to look for a valid WLM
    application environment that is part of the command output
    that did not fit in the buffer, the search fails and the error
    "DSNT038I DSNTRVFY - THE WLM ENVIRONMENT xxxxxxxx IS NOT
    AVAILABLE? is issued. Also the message DSNT028I indicates
    a blank state and a NUMTCB of 0.
    

Problem conclusion

  • In response, this APAR corrects the problem by increasing
    the buffer size from half word to full word.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07367

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-16

  • Closed date

    2019-04-01

  • Last modified date

    2019-05-02

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

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

    UI62261

Modules/Macros

  • DSNTEMCS
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RC10 PSY UI62261

       UP19/04/16 P F904

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":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 May 2019