IBM Support

PH30446: IDZ ZUNIT DB2 RECORDING - WRONG RESULT OF A SELECT * RETURNING NCOLUMNS WHEN JUST ONE PARENT STRUCTURE IS SPECIFIED AS HOST VAR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When the result of select * should return n columns,
    application can specify one host variable of a parent structure
    or n host variables.  For example:
    01 DCL-CUSTOMER.
               10 DCL-CUSTOMER-NUM       PIC S9(10) USAGE COMP-3.
               10 DCL-FIRST-NAME         PIC X(10).
               ...
    or
    77 DCL-CUSTOMER-NUM       PIC S9(10) USAGE COMP-3.
    77 DCL-FIRST-NAME         PIC X(10).
    ...
    
    zUnit does not correctly handle the case when just one parent
    structure is specified as host variable.
    

Local fix

Problem summary

  • The gourp item id expanded to its nested items to be filled with
     data in EXEC SQL.  The IDz ZUnit client didn't expand it in
    analysis of the target program source and importing recorded
    data.
    

Problem conclusion

  • The IDz ZUnit client was fixed to expand the group items of EXEC
     SQLs to the nested items in processing target program sources.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH30446

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    E20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-12

  • Closed date

    2020-12-04

  • Last modified date

    2020-12-04

  • 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

    DEV FOR Z/OS

  • Fixed component ID

    5724T0700

Applicable component levels

[{"Line of Business":{"code":"LOB17","label":"Mainframe TPS"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSQ2R2","label":"Rational Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E20"}]

Document Information

Modified date:
05 December 2020