Diagram

Êʬ¬¬ TAPECOPY ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




tapedrive awsfile ¬¬¬¯

or

Êʬ¬¬ TAPECOPY ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




awsfile tapedrive ¬¬¬¯

5.19.3 Parameter

tapedrive

Specifies the device filename of the SCSI tape drive. Must begin with /dev to be
recognized.

awsfile

Specifies the filename of the AWSTAPE disk file.

The first filename is the input; the second one is the output.

5.19.4 Examples

Example 1:

Copy a SCSI file to an AWSTAPE disk file.

TAPECOPY /dev/nst0/scsifile.bin D:/MVS/TAPE/T3832AA.AWS

5.19.5 Sample Utility Output

Sample 1:

Copying an AWSTAPE disk file to a SCSI drive (this sample abends because the SCSI drive does not
exist).

D:\HERCULES>tapecopy D:/T38321A.AWS /dev/nts0/scsifile.bin

Hercules tape copy program Version 3.05

(c)Copyright 1999-2005 by Roger Bowler, Jan Jaeger, and others

HHCTC001E Error opening /dev/nts0/scsifile.bin: errno=22: Invalid argument

HHCTC000I Abnormal termination

Figure 53: TAPECOPY utility output

5.20 TAPEMAP (Show information about an AWS tape file)

5.20.1 Function

The TAPEMAP program shows information about an AWS tape. It displays all header data contained on
the tape. Please note that the utility does not display the actual contents of the files. Although the
TAPEMAP utility does display the same data as the HETMAP utility, the output is formatted in a totally
different way.

TAPEMAP produces correct output only for an AWS format tape. Use of TAPEMAP with any tape format
other than AWS produces unpredictable results. Do not use it for HET tapes. The HETMAP program dis-
plays information about both AWS and HET tapes, and should be used instead of TAPEMAP.

5.20.2 Syntax

Descriptive

TAPEMAP filename

Diagram

Êʬ¬¬ TAPEMAP ¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.20.3 Parameter

filename

The name (and optionally path) of the AWS tape whose header data is to be dis-
played.

5.20.4 Examples

Example 1:

Print map of an AWS tape file.

TAPEMAP D:/MVS/TAPE/T38321A.AWS

Previous Page Next Page