TAPEMODE { STARTSTOP | STREAM }
specifies the operating mode for a cartridge tape drive such as the 5120. STARTSTOP is the
default. For other than cartridge drives, this attribute is ignored.
TAPEMODE is valid but ignored by Backup and Restore 2.0. The internally used value of
TAPEMODE will always be STREAM.
USE { IN | OUT | EXTEND | OPENFLAG }
specifies how the tape file is to be used.
IN—the file is to be read from tape.
OUT—the file is to be written to tape.
EXTEND—data is to be appended to the tape file.
OPENFLAG—uses the type of access indicated by the access flag of the OPEN call (must be
either read or write; read/write becomes write).
If you specify USE IN or USE EXTEND, you must include the VOLUME attribute and specify
LABELS ANSI or LABELS IBM.
Valid values are IN, OUT, and OPENFLAG for Backup and Restore 2.0.
VERSION number
indicates a version within one generation. Specify an integer in the range of 0 through 99.
The default is 0.
VOLUME { volume-id | SCRATCH }
specifies one or more tape volume IDs or indicates that any scratch tape is acceptable for label
processing. The maximum limit on the number of tape volumes is 61.
Specify volume-id as a unique 1 through 6 byte identification code. For multiple volumes,
enclose the list of volume IDs in parentheses and separate them with commas.
If you specify VOLUME, you must also specify LABELS ANSI, LABELS IBM, LABELS BACKUP,
or LABELS IBMBACKUP. If you specify VOLUME SCRATCH, you cannot specify USE IN or USE
EXTEND. If you specify USE IN, you must include volume-id with the VOLUME attribute;
otherwise, VOLUME defaults to SCRATCH.
These attributes have corresponding fields in the tape system labels:
BLOCKLEN OWNER
EXPIRATION RECFORM
FILEID RECLEN
FILESECT RETENTION
FILESEQ VERSION
GEN
For more information, see Appendix F: Tape Label Formats.
TAPE DEFINE Consistency Checks
To display the current TAPE DEFINE attribute values, use the SHOW DEFINE command. This
command also checks these attributes for consistency and returns the number of the first consistency
check that fails. For more information about using the SHOW DEFINE command, see the TACL
Reference Manual.
Table 20 TAPE DEFINE Consistency Rules
DescriptionCheck Number
You can specify either RETENTION or EXPIRATION but not both.1
If you specify USE IN or USE EXTEND, you must include VOLUME volume-id.2
If you specify VOLUME volume-id, you must also specify LABELS ANSI, LABELS BACKUP,
LABELS IBMBACKUP, or LABELS IBM.
3
If you specify LABELS ANSI, you cannot specify EBCDIC and vice versa.4
If you specify RECFORM F, you must specify a BLOCKLEN that is a multiple of RECLEN.5
If you specify DEVICE, you cannot specify SYSTEM and vice versa.6
TAPE DEFINE Consistency Checks 291