IBM Support

PK14743: RUNNING HPU R220 WITH DB2 V8 CM RECEIVE SQLCODE ERROR -4700 4700 SQLSTATE 56038 WHEN UNLOAD DONE WITH LOCK YES.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running HPU R220 with DB2 V8 in Compatability Mode receive:
    DSNT408I SQLCODE = -4700, ERROR:  ATTEMPT TO USE NEW FUNCTION
    BEFORE NEW FUNCTION MODE
              FUNCTION MODE
    DSNT418I SQLSTATE   = 56038 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNHSM5X SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = 507  0  0  -1  36  0 SQL DIAGNOSTIC
    INFORMATION
     DSNT418I SQLSTATE   = 56038 SQLSTATE RETURN CODE
     DSNT415I SQLERRP    = DSNHSM5X SQL PROCEDURE DETECTING ERROR
     DSNT416I SQLERRD    = 507  0  0  -1  36  0 SQL DIAGNOSTIC
    
     DSNT416I SQLERRD    = X'000001FB'  X'00000000'  X'00000000'
    INZU158E ERROR WHEN TRYING TO OBTAIN A SHARED LOCK ON TABLE :
    tablename
    PB 7630
     :-) UNLOAD  .S1      .SYSPRINT        33
    1) HPU Batch job submitted with QUIESCE YES and a blank line
       imbedded somewhere in the JCL receives error:
       LSCX041 **** ERROR ****
       ABEND occurred in line 440 of @@749475(ODBUTL) ,offset 000A6E
       Extended name: odb2utilQuiesceTablespace
       Program terminated by operating system. ABEND code = S001
       A non-C or system routine was running at the time of ABEND
       PB 7592
       CIRCUMVENTION: Remove the blank line.
    2) ERROR DESCRIPTION:
    DB2 HPU for Z/OS can be added to the DB2 Administration Tool for
    
    Z/os by executing the HPU clist INZDB21X, per Chapter 2,
    Configuring DB2 HPU, under the topic "STEP 7: Integrating HPU
    into DB2 Admin Tool" of the HPU User's Guide. If the steps as
    described in the HPU manual are followed HPU is added
    successfully to the Admin Tool and can be started from it.
    However, If EDIT is added after HPU, then the HPU start command
    is dropped. This apar will address the steps to add HPU to
    Admin so that it will not be dropped if any other command or
    Tool is subsequently added. PB 7560
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Automation Tool.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: - When running HPU R220 with DB2 V8 in  *
    *                       Compatability Mode receive:            *
    *                      DSNT408I SQLCODE = -4700, ERROR:        *
    *                       ATTEMPT TO USE NEW FUNCTION            *
    *                       BEFORE NEW FUNCTION MODE               *
    *                      DSNT418I SQLSTATE   = 56038 SQLSTATE    *
    *                       RETURN CODE                            *
    *                      DSNT415I SQLERRP    = DSNHSM5X SQL      *
    *                       PROCEDURE DETECTING ERROR              *
    *                      DSNT416I SQLERRD    = 507  0  0  -1     *
    *                       36  0 SQL DIAGNOSTIC INFORMATION       *
    *                      INZU158E ERROR WHEN TRYING TO OBTAIN A  *
    *                       SHARED LOCK ON TABLE : tablename       *
    *                      PB 7630                                 *
    *                      1- HPU Batch job submitted with QUIESCE *
    *                       YES and a blank line imbedded          *
    *                       somewhere in the JCL receives error:   *
    *                       LSCX041 **** ERROR **** ABEND          *
    *                       occurred in line 440 of                *
    *                       @@749475(ODBUTL) ,offset 000A6E        *
    *                       Extended name:                         *
    *                       odb2utilQuiesceTablespace Program      *
    *                       terminated by operating system. ABEND  *
    *                       code = S001 A non-C or system routine  *
    *                       was running at the time of ABEND       *
    *                       PB 7592                                *
    *                      2- DB2 HPU for Z/OS can be added to the *
    *                       DB2 Administration Tool for Z/OS by    *
    *                       executing the HPU clist INZDB21X, per  *
    *                       Chapter 2, Configuring DB2 HPU, under  *
    *                       the topic "STEP 7: Integrating HPU     *
    *                       into DB2 Admin Tool" of the HPU User's *
    *                       Guide. If the steps as described in    *
    *                       the HPU manual are followed HPU is     *
    *                       added successfully to the Admin Tool   *
    *                       and can be started from it. However,   *
    *                       If EDIT is added after HPU, then the   *
    *                       HPU start command is dropped. This     *
    *                       apar will address the steps to add     *
    *                       HPU to Admin so that it will not be    *
    *                       dropped if any other command or        *
    *                       Tool is subsequently added.            *
    *                       PB 7560                                *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    - Module Inzquery was changed to use the PARTITION keyword in
     the lock table statement only with DB2 V8 NFM.
    - Module Inzrun was changed to take in to account the LOCKPART
     column of the SYSIBM.SYSTABLESPACE when running in V8 CM or
     V8 ENFM.
    1- Module  oalloc was changed to process correctly the return
     codes issued by function oallocAllocateFile. An error message
     INZI143E is issued when the SYSIN allocation fails.
    2- Member  INZDB2SK of the SINZSAMP was changed to be consistent
     with the way that other tools modify the DB2 ADMIN command
     tables.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK14743

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    220

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-11-07

  • Closed date

    2005-11-28

  • Last modified date

    2006-01-04

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

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

    UK09505 UK09506

Modules/Macros

  •    INZDB2SK INZUTILB
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R210 PSY UK09505

       UP05/12/03 P F512

  • R220 PSY UK09506

       UP05/12/03 P F512

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":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"220","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 January 2006