IBM Support

PI48883: DB2 ADMIN TOOL ADBTEP2 RETURNS RC(0) WHEN START DB RETURNS DSNT301I OR DSNT302I

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The issue is DB2 returns DSN9022I rc(0) even when
    DSNT301I INVALID DATA BASE or DSNT302I INVALID NAME are
    returned. DB2 Admin ADBTEP2 needs to check for DSNT301I and
    DSNT302I and return non-zero return code.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Batch Restart Program       *
    *                 ADBTEP2.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: In DB2 Administration Tool for          *
    *                      z/OS, when using the Batch Restart      *
    *                      Program ADBTEP2 to execute the          *
    *                      'DB2 -START' command, the start         *
    *                      command fails with information          *
    *                      message DSNT301I or DSNT302I            *
    *                      but the Summary Report shows RC=0       *
    *                      for the 'DB2 -START' command and        *
    *                      the ADBTEP2 job continued without       *
    *                      producing a failure.                    *
    *                                                              *
    *                      For example, the 'DB2 -STA' command     *
    *                      fails with DSNT301I:                    *
    *                                                              *
    *                      ADB5060I *** Implicit commit            *
    *                      performed, number: >n<                  *
    *                                                              *
    *                       -STA DB(>dbname<)                      *
    *                      SPACENAM(>tsname<)  ACCESS(RO)          *
    *                                                              *
    *                      DSNT301I  >cmdpref< INVALID             *
    *                      DATA BASE >dbname<                      *
    *                      DSN9022I  >cmdpref< DSNTDDIS            *
    *                      'START DATABASE' NORMAL                 *
    *                      COMPLETION                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In DB2 Administration Tool for z/OS, when using the Batch
    Restart Program ADBTEP2 to execute the 'DB2 -START' command,
    the start command fails with information message DSNT301I or
    DSNT302I but the Summary Report shows RC=0 for the 'DB2
    -START' command and the ADBTEP2 job continued without
    producing a failure.
    

Problem conclusion

  • The program has been modified to set Return Code 8 / RC=8
    when the 'DB2 -STA' command fails with message DSNT301I or
    DSNT302I in the Summary Report, and also stop the processing
    of the ADBTEP2 job.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48883

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-17

  • Closed date

    2016-01-07

  • Last modified date

    2016-02-01

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

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

    UI34311 UI34312

Modules/Macros

  •    ADBGAJOB ADBTEP2
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI34311

       UP16/01/08 P F601

  • RB20 PSY UI34312

       UP16/01/08 P F601

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

Document Information

Modified date:
01 February 2016