IY89235: QUIESCE/UNQUIESCE COMMANDS THE RETURN DIFFERENT SQLCODE IF ALREADY IN THAT STATE AND RETURN CODE IS 4.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In the both quiesce/unquiesce commands the return code is 4,
    where it would make more sense
    to return 1.  Since this is really a warning and not an error or
    failure.
    
    The following the second quiesce command should return a
    warning, and also the return code
    should be 1, as the command did not fail or return an error.
    
    db2 connect to sample
    db2 quiesce database immediate
    db2 quiesce database immediate
    
    $ db2 connect to sample
    
       Database Connection Information
    
     Database server        = DB2/SUN64 8.2.4
     SQL authorization ID   = DB2INST3
     Local database alias   = SAMPLE
    
    $ db2 quiesce database immediate
    DB20000I  The QUIESCE DATABASE command completed successfully.
    $ echo $?
    0
    $ db2 quiesce database immediate
    SQL1371N  Instance or database "SAMPLE" is already quiesced.
    Quiesce type:
    "Database".
    $ echo $?
    4
    
    ================================================================
    =============
    The following the second unquiesce command returns a warning,
    however it should have
    a return code of 1, as the command did not fail or return an
    error.
    
    
    db2 connect to sample
    db2 unquiesce database
    db2 unquiesce database
    
    $ db2 connect to sample
    
       Database Connection Information
    
     Database server        = DB2/SUN64 8.2.4
     SQL authorization ID   = DB2INST3
     Local database alias   = SAMPLE
    
    $  db2 unquiesce database
    DB20000I  The UNQUIESCE DATABASE command completed successfully.
    $  db2 unquiesce database
    SQL1373W  Cannot unquiesce instance or database "SAMPLE",
    because it is not
    quiesced.
    $ echo $?
    4
    

Local fix

  • N/A
    

Problem summary

  • QUIESCE/UNQUIESCE COMMANDS THE RETURN DIFFERENT SQLCODE IF
    ALREADY IN THAT STATE AND RETURN CODE IS 4.
    

Problem conclusion

  • First fixed in DB2 UDB Version 8.2, FixPak 14
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IY89235

  • Reported component name

    DB2 UDB ESE AIX

  • Reported component ID

    5765F4100

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-09-07

  • Closed date

    2006-11-28

  • Last modified date

    2006-11-28

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

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

Fix information

  • Fixed component name

    DB2 UDB ESE AIX

  • Fixed component ID

    5765F4100

Applicable component levels

  • R820 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

820

Reference #:

IY89235

Modified date:

2006-11-28

Translate my page

Machine Translation

Content navigation