IBM Support

PI70969: IN RATIONAL DEVELOPER FOR Z SYSTEMS 9.5.1, GENERATING COBOL ZUNIT TEST CASE FAILS IF COBOL SOURCE HAS SORT STATEMENT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for z Systems (RDz) v9.5.1, generating a
    zunit test case for a COBOL source that has a SORT statement
    containing OUTPUT procedure and no GIVING phase results in
    NullPointerException and no test case is generated. The error
    log file, will have the following exception information:
    
    java.lang.NullPointerException
    	at
    com.ibm.etools.zunit.ast.cobol.FileInfoProvider.processSortState
    ment(Unknown Source)
    	at
    com.ibm.etools.zunit.ast.cobol.FileInfoProvider.visitNode(Unknow
    n Source)
    	at
    com.ibm.etools.zunit.ast.cobol.ParameterInfoProvider.visit(Unkno
    wn Source)
    

Local fix

Problem summary

  • In Rational Developer for z Systems 9.5.1, generating COBOL
    zunit test case fails in NullPointerException if COBOL source
    has SORT statement containg OUTPUT procedure and no GIVING phase
    

Problem conclusion

  • zUnit Analyzer missed checking whether if the SORT statement
    contain GIVING phrase. The fix will added in zUnit client.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.2 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI70969

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-19

  • Closed date

    2016-10-27

  • Last modified date

    2016-10-27

  • 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 SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 951

Reference #: PI70969

Modified date: 27 October 2016