IBM Support

PH39920: INCORRECT TEST RUNTIME SUB-OPTION IN GENERATED JCL OF AN IDZ ZUNIT TEST CASE WITH NO ACTIVE DEBUG MANAGER TASK

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

  • In IBM Developer for z/OS (IDz) v14.2.5, generating a JCL for a
    zUnit test case debug or code coverage results in TEST runtime
    option to always use DBMDT sub-option even when no debug manager
    is enabled on the remote host. For example, the following can be
    seen in the generated debug Test case JCL when no debug manager
    is enabled:
    
    //REPLAY.CEEOPTS DD *
    TEST(ERROR,,PROMPT,DBMDT%<userid>:*)
    

Local fix

  • Manually change the JCL to contain the TCP/IP& sub-option with
    the IP address and port number to start debugging or running
    code coverage. Here is an example for debugging a  zUnit Test
    case:
    
    //REPLAY.CEEOPTS DD *
    TEST(ERROR,,PROMPT,TCPIP&<IP-address>%<port>:*)
    
    where IP-address is the TCP/IP address of the IDz client running
    the debug session and port is the debug UI daemon port used for
    debugging.
    

Problem summary

  • Generating a JCL for a zUnit test case debug or code coverage
    results in TEST runtime option to always use DBMDT sub-option
    even when no debug manager is enabled on the remote host. For
    example, the following can be seen in the generated debug Test
    case JCL when no debug manager is enabled:
    
    //REPLAY.CEEOPTS DD *
    TEST(ERROR,,PROMPT,DBMDT%<userid>:*)
    
    Workaround: Manually change the JCL to contain the TCP/IP&
    sub-option with the IP address and port number to start
    debugging or running code coverage. Here is an example for
    debugging a  zUnit Test case:
    
    //REPLAY.CEEOPTS DD *
    TEST(ERROR,,PROMPT,TCPIP&<IP-address>%<port>:*)
    
    where IP-address is the TCP/IP address of the IDz client running
    the debug session and port is the debug UI daemon port used for
    debugging.
    

Problem conclusion

  • ZUnit has been corrected so that TCPIP would be populated when
    DBM is not activated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH39920

  • 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

    2021-08-17

  • Closed date

    2021-12-03

  • Last modified date

    2021-12-03

  • 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":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E20"}]

Document Information

Modified date:
04 December 2021