IBM Support

PM84041: FGETS DOES NOT RETURN A NULL AFTER A SPORADIC EIO ERROR ENCOUNTERED WHEN READING FROM AN NFS FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible in next release.

Error description

  • When reading from an NFS file, the application sometimes
    encounters the following message:
    
     EDC5122I Input/output error. (errno2=0x6E288872)
    
    EDC5122I is equivalent to errno x'7A' EIO reporting an I/O
    error occurred and fgets() returns the partial data in the
    buffer instead of returning a NULL.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: C/C++ applications that call the fgets()     *
    *                 library function.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: According to the Single UNIX            *
    *                      Specification, the fgets() function     *
    *                      should return NULL if an I/O error is   *
    *                      encountered during a read.  However,    *
    *                      the z/OS XL C/C++ implementation of     *
    *                      fgets() is returning a non-NULL value   *
    *                      when some data is read into the user    *
    *                      supplied buffer as the result of a      *
    *                      partial read prior to the occurrence    *
    *                      of an I/O error.                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is being closed UR1 with concurrence from the
    submitting customer. This means that a fix to this APAR is
    expected to be delivered from IBM in a release (if any) to be
    available within the next 36 months.
    

APAR Information

  • APAR number

    PM84041

  • Reported component name

    LE C LIBRARY

  • Reported component ID

    568819805

  • Reported release

    770

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-03-04

  • Closed date

    2013-04-24

  • Last modified date

    2013-04-24

  • 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

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R770 PSN

       UP

  • R780 PSN

       UP

  • R790 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVSBD","label":"Runtime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"770","Edition":"","Line of Business":{"code":"","label":""}},{"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":"770","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"770","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 April 2013