IBM Support

PI66036: 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 V5.2 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

    PI66036

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655W3200

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-18

  • Closed date

    2016-07-22

  • Last modified date

    2016-08-02

  • 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

    5655W3200

Applicable component levels

  • R520 PSY UI39594

       UP16/07/29 P F607

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 August 2016