5.15 HETGET (Extract files from an AWS or HET tape file)

5.15.1 Function

The HETGET utility extracts a file from an AWSTAPE or HET tape file. The output is in binary format and
has to be displayed with an EBCDIC editor on the PC or has to be uploaded to the host operating system
and opened with a mainframe editor.

5.15.2 Syntax

Descriptive

HETGET tapefile outfile filenum

Diagram

Êʬ¬¬ HETGET ¬¬¬
tapefile ¬¬¬ outfile ¬¬¬ filenum ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

5.15.3 Parameter

tapefile

The name (and optionally the path) of the AWSTAPE or HET tape file from which a
file should be extracted.

outfile

The name (and optionally the path) of the file to which the extracted file will be writ-
ten.

filenum

The file number on the tape of the file to be extracted from the tape.

5.15.4 Examples

Example 1:

Extract file number 25 from the AWSTAPE file named T001003.AWS and write it to file FILE#25.BIN in
directory D:/S390/UNLOAD/.

HETGET D:/MVS/TAPE/T001003.AWS D:/S390/UNLOAD/FILE#25.BIN 25

5.15.5 Sample Utility Output

Sample 1:

Extract file number 10 from the AWSTAPE file named T38321A.AWS and write it to file FILE10.BIN.

D:\HERCULES>hetget D:/MVS/TAPE/T38321A.AWS D:/FILE10.BIN 10

Hercules HET extract files program Version 3.05

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

File Info:

DSN=BBC.BBC53XX.F5

DCB Attributes used:

RECFM=V LRECL=32756 BLKSIZE=32760

Figure 47: HETGET utility output

Previous Page Next Page