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