User Guide
6-62  Ampex 1308911-02
Model No.
Running Head
dd2_weof_tape DD-2 Utilities Manual Pages
-weof <
weof_spec>
Specifies how many filemarks to write and whether or not to flush the drive buffer to tape. You 
must provide a -weof <weof_spec> argument except when using the -help argument.
The -weof <weof_spec> argument comprises a two-element specification ordered as follows: 
-weof :count:flush:. Each element must be delineated by colons and included in the 
specification. Valid parameters for the elements are described below. 
count Indicates the number of filemarks to write to tape. Specifying a value of 
zero for count flushes the tape driver data buffer to tape without writing 
any filemarks. count must be a positive interger between 0 and 0xffffff. 
flush When count is set to a value greater than zero and the
 DST_NO_FLUSH 
interface parameter is not set, flush specifies whether buffered or 
unbuffered filemarks are written. Set flush to zero for buffered filemarks 
or one for unbuffered filemarks.
ENVIRONMENT 
The $TAPE environment variable specifies the tape device to use if the 
-f <device_special_file> option is omitted. 
EXIT STATUS 
The dd2 utilities use the following exit status codes, and may also produce output to -stdout 
on success: 
0 Operation succeeded.
nonzero Operation failed.
A nonzero return value describes the error encountered error during processing (see “Exit 
Status” on page 6-5).
EXAMPLE 
Write one unbuffered filemark at the current position (assuming the DST_NO_FLUSH 
interface parameter is not set). 
dd2_weof_tape -weof :1:1:
SEE ALSO 
“DD-2 Utilities Overview” on page 6-1, dst_weof(), dst_weof_ex()










