IBM Support

PI68277: UNSTRING PROVIDES DIFFERENT RESULTS WITH COBOL V5

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using UNSTRING with overlapping operands may provide different
    results when using Enterprise COBOL V5 than when using
    Enterprise COBOL V4
    

Local fix

  • Do not use overlapping operands
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V6.1 compiling     *
    *                 and running programs that contain UNSTRING   *
    *                 statements where the sender and receiver     *
    *                 have overlapping storage.                    *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Missing diagnostic message: When        *
    *                      sender and receiver in an UNSTRING      *
    *                      statement have overlapping storage,     *
    *                      the receiver will have an               *
    *                      unpredictable result, but the compiler  *
    *                      does not issue any warning message.     *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    The compiler does not issue a warning message when the UNSTRING
    sender overlap a receiver.
    

Problem conclusion

  • The compiler was modified to issue a warning message when an
    UNSTRING sender and receiver overlap.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI68277

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655EC600

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-29

  • Closed date

    2016-09-08

  • Last modified date

    2016-10-03

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

    PI62711

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

Modules/Macros

  •    IGYCRCTL
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655EC600

Applicable component levels

  • R610 PSY UI40709

       UP16/09/24 P F609

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":"BU048","label":"IBM Software"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
05 September 2024