Locating the file I/O trace

If your application is running under TSO or batch, and an EDCTRACE DD is not specified, Language Environment writes the trace to the batch log (SYSOUT=* by default). You can change the SYSOUT class by specifying an EDCTRACE DD, or by setting the environment variable, _CEE_DMPTARG=SYSOUT(x), where x is the preferred SYSOUT class.

If your application is running under z/OS UNIX and is either running in an address space that you issued a fork() to, or if it is invoked by one of the exec family of functions, the trace is written to the UNIX file system. Language Environment writes the trace to one of the following directories in the specified order:

  1. The directory found in environment variable _CEE_DMPTARG, if the directory is found.
  2. The current working directory, as long as the directory is writable and the EDCTRACE path name does not exceed 1024 characters.
  3. The directory found in environment variable TMPDIR, which is an environment variable that indicates the location of a temporary directory if it is not /tmp.
  4. The /tmp directory.
The name of the file uses the following format:
/path/EDCTRACE.Date.Time.Pid
path
Path determined from the previous algorithm.
Date
Date that the trace is taken, appearing in the format YYYYMMDD. For example, 20071122 is for November 22, 2007.
Time
Time that the trace is taken, appearing in the format HHMMSS. For example, 115601 is for 11:56:01 a.m.
Pid
Process ID in which the application is running when the trace is taken.