-- --**************************************************************************** --* * --* Copyright (c) 2001 * --* by DIGITAL Equipment Corporation, Maynard, Mass. * --* * --* This software is furnished under a license and may be used and copied * --* only in accordance with the terms of such license and with the * --* inclusion of the above copyright notice. This software or any other * --* copies thereof may not be provided or otherwise made available to any * --* other person. No title to and ownership of the software is hereby * --* transferred. * --* * --* The information in this software is subject to change without notice * --* and should not be construed as a commitment by DIGITAL Equipment * --* Corporation. * --* * --* DIGITAL assumes no responsibility for the use or reliability of its * --* software on equipment which is not supplied by DIGITAL. * --* * --**************************************************************************** --******************************************************************************************************************** -- Created: 15-MAR-2001 22:52:00 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:42:03 $11$DUA933:[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. --- 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 .. 7); -- SPACES 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 .. 55; 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)); end HD1DEF;