5.14.4 Examples

Example 1:

Extract and list the sequential dataset SYS2.SEQ.DATA on the DASD image file TST001.AA0.

DASDSEQ -ASCII D:\MVS\DASD\TST001.AA0 D:\MVS\DASD\SYS2.SEQ.DATA

5.14.5 Sample Utility Output

Sample 1:

Extract and list the sequential dataset SYS2.SEQ.DATA on the DASD image file TST001.AA0.

D:\HERCULES>dasdseq -ascii D:\MVS\DASD\TST001.AA0 SYS2.SEQ.DATA

dasdseq 3.05 Copyright 1999-2005 Roger Bowler

Portions Copyright 2001-2005 James M. Morrison

dasdseq wrote 11 records to SYS2.SEQ.DATA

Figure 46: DASDSEQ utility output

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

Previous Page Next Page