CL Command Reference - DMP

CL Command List > DMP Reference

Description:

The Dump (DMP) command dumps the contents and/or attributes of the specified integrated file system object to a spooled printer file named QPSRVDMP. Whether the contents and/or attributes can be dumped depends upon the object type. Any integrated file system object can be dumped, but only one object can be specified at a time on this command.

Restrictions:

. You must have read and execute (*RX) authorities to the directory containing the object and read (*R) to the object. If the object is in QSYS.LIB file system, you must have use (*USE) authority to the object and execute (*EXECUTE) authority to the library. To dump internal document library objects all object (*ALLOBJ) special authority is required.

. The Dump (DMP) command will not allow a pattern to be specified for a directory in the path name, only for the object name. You can invoke the Work with Object Links (WRKLNK) command to see objects in directories.

. For more information on specifying path names, refer to Chapter 2 of the CL information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter. Additional information about object name patterns is in the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.

. Not all file systems support the DMP command. The following list of local file systems are supported:
每 Root file system
每 QOpenSys file system
每 QSYS.LIB file system
每 QDLS file system
每 User-defined file systems



Examples:

Example 1: Dumping Stream File Contents

DMP OBJ(*/user/Test.stmf*)

This command dumps the contents of the stream file named /user/Test.stmf. The dump is spooled to the printer output file QPSRVDMP.