--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:37 by OpenVMS SDL EV3-3 -- Source: 21-APR-1993 09:59:04 $1$DGA8085:[LIB_ADA.LIS]VL1DEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package VL1DEF is -- module $VL1DEF --+ -- VOL1 ANSI MAGNETIC TAPE LABEL -- THIS IS THE FIRST BLOCK ON EVERY ANSI LABELED MAGNETIC TAPE. -- IT IDENTIFIES THE VOLUME AND ITS PROTECTION. --- VL1_S_VL1DEF : constant := 80; type VL1_OWNER_IDENT_TYPE is -- VOL1 OWNER ID FIELD record VOLOWNER : STRING(1 .. 13); -- VOLUME OWNER IDENTIFICATION DECSTDVER : UNSIGNED_BYTE; -- DEC STANDARD VERSION end record; for VL1_OWNER_IDENT_TYPE use record VOLOWNER at 0 range 0 .. 103; DECSTDVER at 13 range 0 .. 7; end record; for VL1_OWNER_IDENT_TYPE'SIZE use 112; VL1_OWNER_IDENT_TYPE_INIT : constant VL1_OWNER_IDENT_TYPE := (VOLOWNER => (others => ASCII.NUL), DECSTDVER => 0); type VL1_TYPE is record VL1LID : UNSIGNED_LONGWORD; -- LABEL IDENTIFIER AND NUMBER 'VOL1' VOLLBL : STRING(1 .. 6); -- VOLUME LABEL VOLACCESS : UNSIGNED_BYTE; -- VOLUME ACCESS FILLER_1 : STRING(1 .. 13); -- SPACES SYSCODE : STRING(1 .. 13); -- SYSTEM CODE OWNER_IDENT : VL1_OWNER_IDENT_TYPE; -- VOL1 OWNER ID FIELD FILLER_2 : STRING(1 .. 28); -- SPACES LBLSTDVER : UNSIGNED_BYTE; -- LABEL STANDARD VERSION '3' end record; for VL1_TYPE use record VL1LID at 0 range 0 .. 31; VOLLBL at 4 range 0 .. 47; VOLACCESS at 10 range 0 .. 7; FILLER_1 at 11 range 0 .. 103; SYSCODE at 24 range 0 .. 103; OWNER_IDENT at 37 range 0 .. 111; FILLER_2 at 51 range 0 .. 223; LBLSTDVER at 79 range 0 .. 7; end record; for VL1_TYPE'SIZE use 640; VL1_TYPE_INIT : constant VL1_TYPE := (VL1LID => 0, VOLLBL => (others => ASCII.NUL), VOLACCESS => 0, FILLER_1 => (others => ASCII.NUL), SYSCODE => (others => ASCII.NUL), OWNER_IDENT => VL1_OWNER_IDENT_TYPE_INIT, FILLER_2 => (others => ASCII.NUL), LBLSTDVER => 0); end VL1DEF;