-- --**************************************************************************** --* * --* 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:02 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:42:06 $11$DUA933:[LIB_ADA.LIS]HD2DEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package HD2DEF is -- module $HD2DEF --+ -- HDR2 ANSI MAGNETIC TAPE LABEL -- THIS IS THE SECOND LABEL IN FILE LABEL HEADER SET. -- THE FILE ATTRIBUTES HAVE BEEN REMOVED FROM HDR2, AND PLACED IN HDR3. -- THE FIELDS REMAIN IN THE DEFINITION TO SUPPORT OLD TAPES. --- type HD2_TYPE is record HD2LID : UNSIGNED_LONGWORD; -- LABEL IDENTIFIER AND NUMBER 'HDR2' RECFORMAT : UNSIGNED_BYTE; -- RECORD FORMAT BLOCKLEN : STRING(1 .. 5); -- BLOCK LENGTH RECLEN : STRING(1 .. 5); -- RECORD LENGTH RECATR1 : STRING(1 .. 20); -- FIRST 20 BYTES OF FILES-11 RECORD ATTRIBUTES FILLER_1 : CHARACTER; -- SPACES FORMCNTRL : UNSIGNED_BYTE; -- FORMS CONTROL RECATR2 : STRING(1 .. 12); -- LAST 12 BYTES OF FILES-11 RECORD ATTRIBUTES FILLER_2 : CHARACTER; -- SPACES BUFOFF : STRING(1 .. 2); -- BUFFER OFFSET FILLER_3 : STRING(1 .. 20); -- SPACES end record; for HD2_TYPE use record HD2LID at 0 range 0 .. 31; RECFORMAT at 4 range 0 .. 7; BLOCKLEN at 5 range 0 .. 39; RECLEN at 10 range 0 .. 39; RECATR1 at 15 range 0 .. 159; FILLER_1 at 35 range 0 .. 7; FORMCNTRL at 36 range 0 .. 7; RECATR2 at 37 range 0 .. 95; FILLER_2 at 49 range 0 .. 7; BUFOFF at 50 range 0 .. 15; FILLER_3 at 52 range 0 .. 159; end record; for HD2_TYPE'SIZE use 576; HD2_TYPE_INIT : constant HD2_TYPE := (HD2LID => 0, RECFORMAT => 0, BLOCKLEN => (others => ASCII.NUL), RECLEN => (others => ASCII.NUL), RECATR1 => (others => ASCII.NUL), FILLER_1 => ASCII.NUL, FORMCNTRL => 0, RECATR2 => (others => ASCII.NUL), FILLER_2 => ASCII.NUL, BUFOFF => (others => ASCII.NUL), FILLER_3 => (others => ASCII.NUL)); end HD2DEF;