IBM Support

PH42009: BEXP: SYSPACKSTMT HV BUFFER ALLOCATED INCORRECTLY SQLCODE -64004

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When explain is ran against a package with a large number of
    host variables, the default HV buffer allocation is too small
    causing errors in explain output and missing data.
    
    
    FPEY0509W FUNCTION STEP TRNHOSTV FOR TABLE SYSPACKSTMT FAILED.
    SQL CODE: -64004
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Batch Explain                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: FPEY0509W messages with SQLCODE -64004  *
    *                      printed in explain report output and    *
    *                      missing data.                           *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF                       *
    ****************************************************************
    When explain is run against a package with a large number of
    host variables, the default host variable buffer allocation was
    too small causing FPEY0509W messages to display in the explain
    output and data INCORROUTs.
    

Problem conclusion

  • Internal host variable buffers are increased to allow handling
    a large number of host variables without errors.
    
    Keywords: DB2PM OMPE BATCH EXPLAIN FPEY0509W
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42009

  • Reported component name

    OM XE DB2PE/PM

  • Reported component ID

    5655OPE00

  • Reported release

    540

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-10

  • Closed date

    2022-01-28

  • Last modified date

    2022-03-01

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

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

Modules/Macros

  • DGOAREDC DGOYDPM0 DGOYFIST DGOYTPM0 DGOYTPM1 DGOYTPM2 DGOYTPM3
    DGOYTPM4 DGOYTPM5 DGOYTPM6 FPEUMSGS KO2STOAB KO2STORB
    

Fix information

  • Fixed component name

    OM XE DB2PE/PM

  • Fixed component ID

    5655OPE00

Applicable component levels

  • R540 PSY UI79115

       UP22/02/02 P F202

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4.0"}]

Document Information

Modified date:
02 March 2022