beautypg.com

Compressing a tape dump file, Examples – HP NonStop G-Series User Manual

Page 204

background image

Using Labeled Tapes

Guardian User’s Guide 425266-001

10 -30

Compressing a Tape Dump File

Compressing a Tape Dump File

You can compress a tape dump file using the COPYDUMP utility, which usually resides
in the file $SYSTEM.SYS

nn

.COPYDUMP.

To use the COPYDUMP program to copy and compress a memory dump file from disk
or tape to disk, enter:

> COPYDUMP source-file , dest-file

source-file

specifies the memory dump file that is to be copied and compressed. Specify either
the name of the tape drive where the tape is loaded or the name of a disk dump file
you want to copy. If source-file is a tape file, you must create it by performing a
tape dump as described in the operator’s guide for your system. If source-file is a
disk file, you must create it by doing a bus dump as described in the operator’s
guide for your system or by using the RCVDUMP program or the RECEIVEDUMP
command.

dest-file

specifies the destination of the COPYDUMP operation. For dest-file, specify the
name of a disk file. If dest-file does not exist, it is created during the COPYDUMP
operation. If dest-file exists, it must be empty (EOF=0) and have file code 9614.

For a complete list and description of all COPYDUMP options, see the TACL Reference
Manual
.

Examples

Copying and Compressing a Tape Dump File

If a tape dump file resides on the tape mounted on the tape drive $TAPE2, to copy and
compress the tape dump file into the disk file $DATA.DUMPS.CPU1, enter:

> COPYDUMP $TAPE2, $DATA.DUMPS.CPU1

Compressing a Disk Dump File

To compress the disk dump file $BAS10.DUMPS.CPU3 into the disk file
$BAS10.CDUMPS.CPU3, enter:

> COPYDUMP $BAS10.DUMPS.CPU3, $BAS10.CDUMPS.CPU3

Note. You can also use FUP (the CREATE and COPY commands) to copy tape dump files to
disk files. However, using COPYDUMP is faster, and it generates a smaller disk dump file
because it compresses the dump. Also, COPYDUMP automatically determines the size of the
disk dump file, whereas you must specify the extent size of the disk file if you use FUP.

This manual is related to the following products: