TRAPDUMP

Warning: Potential Data Loss

Misuse of this facility may cause loss of vital data. Please read carefully the complete description before use.

The TRAPDUMP command controls the stand-alone (system) dump facility of OS/2. It will enable initiation of a stand-alone dump at the instant a ring 3 trap occurs for which no exception handler has intervened.

Ring 0 traps may be also intercepted only on 2.11 systems to which APAR PJ12258 has been applied (kernel revision 6.624), or on OS/2 Warp.

Pre-Warp considerations: The dump process is performed by the hidden module OS2DUMP, which resides in the root directory of the boot drive. OS2DUMP as supplied with GA versions of OS/2 2.x dumps only to diskette. It may be replaced with a version supplied with OS/2 Problem Determination Package (OS2PDP) which will dump to a hard disk FAT partition that has volume label SADUMP or to diskette, depending upon TRAPDUMP command specification.

The GA 2.x version of OS2DUMP requires the first dump diskette be freshly prepared using the CREATEDD command and subsequent diskettes to be formatted. See the on-line OS/2 Command Reference for details of CREATEDD.

The OS/2 Problem Determination Package (OS2PDP) version of OS2DUMP only requires formatted diskettes, the use of CREATEDD being redundant.

When dumping to hard disk the dump partition must to be made known to TRAPDUMP. This is done by specifying an optional second parameter.

OS/2 Warp considerations: Under OS/2 Warp the CREATEDD command is unnecessary and is not distributed with the system. Ordinarily formatted diskettes may be used. Furthermore the enhanced version of OS2DUMP that allows dumping to a hard-disk FAT partition is standard. The partition volume label must be SADUMP.

Syntax.

     TRAPDUMP=[ON|OFF|R0][,PD][,]X:

Parameters