PM89202: U4000 EXECUTING APP WITH _EDC_IO_TRACE ACTIVE. ALSO RESULTING I/O TRACE FILE IS NOT CREATED IN A SHELL ENVIRONMENT.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When running a C program in the USS shell with environment
    variable _EDC_IO_TRACE set and performing I/O functions such as
    fopen(), fread(), and fclose() - a U4000 abend may be
    encountered if a trailing comma is included in the environment
    variable definition or the trace file may not be created.
    
    For example:
    When the value exported is '(filename,1,)' and the traced
    filename/dataset is being written to the HFS.  The executing
    the program resulted in U4000/7017.
    
    Regardless, when writing the trace output file to the HFS, the
    trace file EDCTRACE.yyyymmdd.hhmmss.ssssssss is not created.
    
    
    Verification Steps:
    1) I/O Trace _EDC_IO_TRACE is in use
    2) Either an abend U4000 is encountered, or the trace file is
       not written to the HFS.
    
    
     EXTERNAL SYMPTOMS:
     U4000 abend
     missing I/O trace file
     ANALYSIS:
     CEL4IOTR
     VERIFICATION STEPS:
     U4000 and/or missing I/O trace file in unix when _EDC_IO_TRACE
     is set
    

Local fix

  •  BYPASS/CIRCUMVENTION:
     You can avoid the U4000 by omitting the comma after the second
     parameter on the _EDC_IO_TRACE envar.
    
     RECOVERY ACTION:
     Dont use _EDC_IO_TRACE in a unix/shell environment
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of C/RTL I/O tracing.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: The file name created for the I/O trace *
    *                      is not a valid file or dataset name.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See the Problem Description.
    

Problem conclusion

  • Code was modified to fix the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89202

  • Reported component name

    LE FOR MVS & VM

  • Reported component ID

    568819801

  • Reported release

    770

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-16

  • Closed date

    2013-07-19

  • Last modified date

    2013-09-03

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

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

    UK96008 UK96009

Modules/Macros

  •    CELHIOTR CELQIOTR CEL4IOTR
    

Fix information

  • Fixed component name

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R770 PSY UK96008

       UP13/08/07 P F308

  • R780 PSY UK96009

       UP13/08/07 P F308

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.



Rate this page:

(0 users)Average rating

Document information


More support for:

z/OS XL C/C++
Runtime

Software version:

770

Operating system(s):

MVS, z/OS

Reference #:

PM89202

Modified date:

2013-09-03

Translate my page

Machine Translation

Content navigation