IBM Support

PH59279: IDZ ZUNIT - ADDING NEW WORKING STORAGE ITEMS AFTER GENERATING A TEST CASE GIVES ERROR CRRZT0031E

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

  • IBM Developer for z/OS (IDz) v15.0.6, zUnit with CICS.  Problem
    recreate steps:
    
    1) Generate and successfully run a zUnit CICS test case. Save
    it.
    2) Modify the source program by adding a new Working Storage
    variable.
    3) Compile the new program.
    4) Open saved test case.
    5) Click Add Test button to add a new test then click Generate.
    6) When it is finished generating the new test case, select
    Generate, Build, and run test case.
    
    
    Expected result:  Test cases should run without error since the
    addition of the new Working Storage variable(s) should have no
    impact on the previously saved test case.
    
    Actual Result:  An error occurred while generating the test
    case.  Reason:  CRRZT0031E DFHCOMMAREA of ... does not match
    parameter DFHCOMMAREA
    

Local fix

Problem summary

  • When parameters are modified in test target source after
    Create/modify test case, ZUnit will migrate the configuration to
     fit the modified parameters.
    In this case if Input or expected data are set, data files in
    the configuration needs to be migrated too.
    However, ZUnit does not detect necessity of data migration so
    user does not have a chance to update data. It would cause data
    item id mismatch during test case program generation.
    

Problem conclusion

  • Fix ZUnit to detect necessity of data migration and put dirty
    mark ("*") for the ZUnit editor, at ZUnit editor opening time.
    
    User can then save the editor to update data in the
    configuration.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59279

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    F00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-01-18

  • Closed date

    2024-03-15

  • Last modified date

    2024-03-15

  • 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

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"F00"}]

Document Information

Modified date:
04 April 2024