IBM Support

PH50419: ZUNIT GENERATES TEST CASE WITH INVALID SYNTAX WHEN A TEST CASE PROGRAM IS GENERATED FOR AN IMS BMP MAIN PROGRAM

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 a test case program is generated for an IMS BMP main
    program, sometimes zUnit generates a Test Case program with
    invalid syntax, so the Test Case program does not compile.
    
    The Test Case program seems to contain a CALL statement to the
    module-under-test with a parameter list as if the program is a
    regular main program. However, the variable used in the CALL
    Statement to contain the parameter is not defined in DATA
    DIVISION. The correct behavior is to generate the CALL statement
    with the PCBs as the parameters to be passed.
    

Local fix

Problem summary

  • See error description.
    

Problem conclusion

  • The test case generator will be updated to generate test cases
    for supporting main programs that have parameters other than PCB
     parameter in LINKAGE.
    In Specify PCB index dialog of test case editor, the check
    button for enable/disable PCB index is added, and fixed auto
    resolving.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH50419

  • 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

    2022-10-26

  • Closed date

    2022-12-15

  • Last modified date

    2022-12-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:
16 December 2022