TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-185
SET DEFINE Command
Creating a TAPE DEFINE
Attribute values for a TAPE DEFINE must meet certain consistency rules, shown in
Table 8-7. The specific rules for particular attributes are listed in Table 8-8 on
page 8-186.
You can display all the attributes that are currently set or defaulted with the SHOW
DEFINE * command. This command also checks these attributes for consistency and
returns the check number of the first consistency check that fails.
Table 8-7. TAPE DEFINE Attribute Consistency Rules
Check
Number Description
001 You can specify either RETENTION or EXPIRATION, but not both.
002 If you specify USE IN or EXTEND, you must include VOLUME and specify
LABELS ANSI or LABELS IBM. If you specify REELS, the value must equal
the number of volumes specified in VOLUME.
003 If you specify VOLUME, you must also specify LABELS ANSI, LABELS IBM,
or LABELS IBMBACKUP. If you specify LABELS, you must also specify
VOLUME.
004 If you specify LABELS ANSI, you must not specify the EBCDIC attribute, and
the reverse.
005 If you specify RECFORM F, you must specify a BLOCKLEN that is a multiple
of RECLEN.
006 If you specify DEVICE, you cannot specify SYSTEM in the same DEFINE,
and the reverse.
007 If you specify LABELS BYPASS or LABELS OMITTED, you must specify a
DEVICE; you must not specify any of these attributes: BLOCKLEN, EBCDIC,
EXPIRATION, FILEID, FILESECT, FILESEQ, GEN, OWNER, RECFORM,
RECLEN, REELS, RETENTION, SYSTEM, USE, VERSION, VOLUME.
008 If you specify VOLUME SCRATCH, you must not specify USE IN or USE
EXTEND.
009 If you specify LABELS IBM or LABELS IBMBACKUP, you must specify a
FILEID.
010 If RECLEN is less than 24, you must specify a BLOCKLEN.
011 If you specify LABELS IBMBACKUP, the system you specify in the SYSTEM
or DEVICE attribute must have an operating system RVU of C20 or later.