IBM Support

PI32999: DIFFERENCE IN BEHAVIOR IN CHECKING FOR NUMERIC BETWEEN COBOL V4 & COBOL V5.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Difference in behavior in checking for NUMERIC between COBOL V4
    & COBOL V5.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Enterprise COBOL V5 users with programs that *
    *                 do a NUMERIC class test on variable-length   *
    *                 data items of zero length.                   *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect output.  IF NUMERIC class     *
    *                      test on variable-length data items of   *
    *                      zero length results in a true           *
    *                      condition. The result should be a false *
    *                      condition.                              *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply provided service.                      *
    *                                                              *
    ****************************************************************
    The size of variable-length data item is determined at program
    run time and zero length is a special case, instead of applying
    the usual test on the data item, a predetermined result should
    be returned for zero length.
    

Problem conclusion

  • The COBOL Version 5 library is changed so that a NUMERIC class
    test on a variable-length data item of zero length results in
    false condition.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI32999

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655W3200

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-20

  • Closed date

    2015-02-19

  • Last modified date

    2015-03-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • IGZXLPKA
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R780 PSY UI25310

       UP15/02/25 P F502

  • R790 PSY UI25311

       UP15/02/25 P F502

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCVR7X","label":"Runtime"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 December 2020