--******************************************************************************************************************** -- Created: 9-Mar-2021 22:28:25 by OpenVMS SDL EV3-3 -- Source: 02-AUG-2007 11:42:18 $1$DGA8085:[LIB_ADA.LIS]HD1DEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package HD1DEF is -- module $HD1DEF --+ -- HDR1 ANDSI MAGNETIC TAPE LABEL -- THIS IS THE FIRST LABEL IN THE FILE LABEL HEADER SET. IF IDENTIFIES THE FILE. --- HD1_S_HD1DEF : constant := 80; type HD1_TYPE is record HD1LID : UNSIGNED_LONGWORD; -- LABEL IDENTIFIER AND NUMBER 'HDR1' FILEID : STRING(1 .. 17); -- FILE IDENTIFIER FILESETID : STRING(1 .. 6); -- FILE SET IDENTIFIER FILESECNO : STRING(1 .. 4); -- FILE SECTION NUMBER FILESEQNO : STRING(1 .. 4); -- FILE SEQUENCE NUMBER GENNO : STRING(1 .. 4); -- FILE GENERATION NUMBER GENVER : STRING(1 .. 2); -- FILE GENERATION VERSION NUMBER CREATEDT : STRING(1 .. 6); -- CREATION DATE ( YYDDD) EXPIREDT : STRING(1 .. 6); -- EXPIRATION DATE FILACCESS : UNSIGNED_BYTE; -- FILE ACCESS BLOCKCNT : STRING(1 .. 6); -- BLOCK COUNT SYSCODE : STRING(1 .. 13); -- SYSTEM CODE FILLER_1 : STRING(1 .. 3); -- SPACES HIBLOCKCNT : STRING(1 .. 4); -- HIGH BLOCK COUNT end record; for HD1_TYPE use record HD1LID at 0 range 0 .. 31; FILEID at 4 range 0 .. 135; FILESETID at 21 range 0 .. 47; FILESECNO at 27 range 0 .. 31; FILESEQNO at 31 range 0 .. 31; GENNO at 35 range 0 .. 31; GENVER at 39 range 0 .. 15; CREATEDT at 41 range 0 .. 47; EXPIREDT at 47 range 0 .. 47; FILACCESS at 53 range 0 .. 7; BLOCKCNT at 54 range 0 .. 47; SYSCODE at 60 range 0 .. 103; FILLER_1 at 73 range 0 .. 23; HIBLOCKCNT at 76 range 0 .. 31; end record; for HD1_TYPE'SIZE use 640; HD1_TYPE_INIT : constant HD1_TYPE := (HD1LID => 0, FILEID => (others => ASCII.NUL), FILESETID => (others => ASCII.NUL), FILESECNO => (others => ASCII.NUL), FILESEQNO => (others => ASCII.NUL), GENNO => (others => ASCII.NUL), GENVER => (others => ASCII.NUL), CREATEDT => (others => ASCII.NUL), EXPIREDT => (others => ASCII.NUL), FILACCESS => 0, BLOCKCNT => (others => ASCII.NUL), SYSCODE => (others => ASCII.NUL), FILLER_1 => (others => ASCII.NUL), HIBLOCKCNT => (others => ASCII.NUL)); end HD1DEF;