Locating the trace dump

If your application is running under TSO or batch, and a CEEDUMP DD is not specified, Language Environment writes the CEEDUMP to the batch log (SYSOUT=* by default). You can change the SYSOUT class by specifying a CEEDUMP 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 a child process, or if it is invoked by one of the exec family of functions, the dump is written to the z/OS UNIX file system. Language Environment writes the CEEDUMP to one of the following directories in the specified order:

  1. The directory in environment variable _CEE_DMPTARG, if found
  2. The current working directory, if the directory is not the root directory (/), the directory is writable, and the CEEDUMP path name does not exceed 1024 characters
  3. The directory found in environment variable TMPDIR (an environment variable that indicates the location of a temporary directory if it is not /tmp)
  4. The /tmp directory

The name of this file changes with each dump and uses the following format:

/path/CEEDUMP.Date.Time.Pid
path
The path determined from the above algorithm.
Date
The date the dump is taken, appearing in the format YYYYMMDD (such as 20040918 for September 18, 2004).
Time
The time the dump is taken, appearing in the format HHMMSS (such as 175501 for 05:55:01 p.m.).
Pid
The process ID the application is running in when the dump is taken.