nscl_logo_small.gif (2463 bytes)

tape - SpecTcl Command

HH00706_.wmf (6530 bytes)

SpecTcl Home  General Information User Guide Programmer's Guide Obtaining and Installing

Syntax

tape -open filename
tape -open -next
tape -close
tape -rewind

Synopsis

Manipulates ansi labelled tape data sources.

Detailed Description

Tape data sources are attached to SpecTcl with the attach -tape command. Tape data sources are assumed to be ANSI labelled tapes. Each file on an ANSI labelled tape has header and trailer records which contain the name of the file, the blocksize of the file and other documentation information. The tape command manipulates ANSI labelled tape sources after they have been attached to SpecTcl.

tape -open filename

Opens the selected file on tape. The tape is searched from the current position. If the end of volume is reached, and the file is not located, the tape is rewound and the search is done again (in case the file is located prior to the current location).

tape -open -next

(Not yet implemented). This file opens the next file on the tape.

tape -close

Closes the current event file on tape. Actually this will be done by a tape -open if a tape file is still open.

tape -rewind

(Not yet implemented) Rewinds a tape to the beginning of the volume.

Top

SpecTcl Home  General Information User Guide Programmer's Guide Obtaining and Installing


Last Modified: October 28, 2003 by: fox@nscl.msu.edu
© Copyright NSCL 1999, All rights reserved