IBM Support

PH42178: PRESET A VALUE IN VARIABLE SQLCODE ZUNIT COPY BOOK

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

  • not presetting SQLERROR  can lead to a loop in running a zUnit
    test case
    

Local fix

  • manually set a value in the test case generator
    

Problem summary

  • ZUnit - if no test data is set to the DB2 FETCH command, an
    infinite loop may occur at run time.
    

Problem conclusion

  • If there is no recorded data and no input data for the FETCH
    command and SELECT INTO command, change it to set SQLCODE to 100
     in the zUnit test case.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42178

  • Reported component name

    Z/OS EXPLORER E

  • Reported component ID

    5724T0723

  • Reported release

    F00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-18

  • Closed date

    2022-03-10

  • Last modified date

    2022-03-10

  • 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":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"F00"}]

Document Information

Modified date:
11 March 2022