! ******************************************************************************************************************************** ! Created 12-JUN-2007 22:00:51 by VAX SDL V3.2-12 Source: 25-APR-1995 15:50:30 DISK$DFO_BUILD:[DEFRAG.V30.SRC]DFG$DEF.SDL;1 ! ******************************************************************************************************************************** !*** MODULE $DFG$DEF *** ! ! Copyright © Digital Equipment Corporation, 1991-1995 All Rights Reserved. ! ! Unpublished rights reserved under the copyright laws of the United States. ! The software contained on this media is proprietary to and embodies the ! confidential technology of Digital Equipment Corporation. Possession, ! use, duplication or dissemination of the software and media is authorized ! only pursuant to a valid written license from Digital Equipment ! Corporation. ! ! RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the U.S. ! Government is subject to restrictions as set forth in Subparagraph ! (c)(1)(ii) of DFARS 252.227-7013, or in FAR 52.227-19, as applicable. ! PARAMETER DFG$K_ABORT = '00000001'X ! sch/DB only; ABORT script PARAMETER DFG$K_AFTER = '00000002'X ! sch/DB only; Schedule AFTER timespec PARAMETER DFG$K_CANCEL = '00000003'X ! sch/DB only; Cancel next execution of script PARAMETER DFG$K_CLASSIFY_DORM = '00000004'X ! dfg only; DORMANT files PARAMETER DFG$K_CLASSIFY_FREQ = '00000005'X ! dfg only; FREQUENTLY accessed files PARAMETER DFG$K_DFG_FLAGS = '00000006'X ! dfg only; Flags. PARAMETER DFG$K_DISABLE = '00000007'X ! sch/DB only; Disable specified script(s) PARAMETER DFG$K_ENABLE = '00000008'X ! sch/DB only; Enable specified script(s) PARAMETER DFG$K_EXCLUDE = '00000009'X ! dfg only; EXCLUDE these PARAMETER DFG$K_INHERIT = '0000000A'X ! sch/DB only; INHERIT script PARAMETER DFG$K_INTERVAL = '0000000B'X ! sch/DB only; INTERVAL timespec PARAMETER DFG$K_LOG = '0000000C'X ! dfg only; LOG=file-spec PARAMETER DFG$K_MONITOR = '0000000D'X ! sch/DB only; Turn on monitoring of specific engine PARAMETER DFG$K_NODE = '0000000E'X ! sch/DB only; NODE name PARAMETER DFG$K_OPTIONS = '0000000F'X ! dfg only; OPTIONS=file-spec PARAMETER DFG$K_OUTPUT = '00000010'X ! sch/DB only; OUTPUT=file-spec PARAMETER DFG$K_PREDECESSOR = '00000011'X ! sch/DB only; PREDECESSOR=script PARAMETER DFG$K_REMOVE = '00000012'X ! sch/DB only; REMOVE=script PARAMETER DFG$K_SCH_FLAGS = '00000013'X ! sch/DB only; flags PARAMETER DFG$K_SCRIPT = '00000014'X ! sch/DB only; SCRIPT=script-name PARAMETER DFG$K_SET_CPU = '00000015'X ! sch/DB only; set max cpu % PARAMETER DFG$K_SET_IO = '00000016'X ! sch/DB only; set max io% PARAMETER DFG$K_SET_PROCESSES = '00000017'X ! sch/DB only; set max dfgs PARAMETER DFG$K_SHOW_CPU = '00000018'X ! sch/DB only; Max cpu setting PARAMETER DFG$K_SHOW_IO = '00000019'X ! sch/DB only; Max IO setting PARAMETER DFG$K_SHOW_PROCESSES = '0000001A'X ! sch/DB only; show max proc PARAMETER DFG$K_SHOW_SCRIPT = '0000001B'X ! sch/DB only; Show script PARAMETER DFG$K_START = '0000001C'X ! sch/DB only; Start already-defined script PARAMETER DFG$K_TIME_LIMIT = '0000001D'X ! sch/DB only; TIME_LIMIT=timespec PARAMETER DFG$K_VOLUME = '0000001E'X ! dfg only; VOLUME=volume-name PARAMETER DFG$K_FILE = '0000001F'X ! dfg only; List of files to defragment PARAMETER DFG$K_MODIFY = '00000020'X ! sch/DB only; modify existing script PARAMETER DFG$K_PRE_PROCESS = '00000021'X ! dfg only; pre-processing command file PARAMETER DFG$K_POST_PROCESS = '00000022'X ! dfg only; post-processing command file PARAMETER DFG$K_OFFLINE = '00000023'X ! dfg only; If this is a defrag of INDEXF.SYS PARAMETER DFG$K_MAX_ITEM_CODE = '00000023'X PARAMETER DFG$K_SHOW_SCRIPT_DFG_FLAGS = '00000001'X PARAMETER DFG$K_SHOW_SCRIPT_DORMANT = '00000002'X PARAMETER DFG$K_SHOW_SCRIPT_ENABLE = '00000003'X PARAMETER DFG$K_SHOW_SCRIPT_EXCLUDE = '00000004'X PARAMETER DFG$K_SHOW_SCRIPT_FREQUENT = '00000005'X PARAMETER DFG$K_SHOW_SCRIPT_INTERVAL = '00000006'X PARAMETER DFG$K_SHOW_SCRIPT_LOG = '00000007'X PARAMETER DFG$K_SHOW_SCRIPT_NODE = '00000008'X PARAMETER DFG$K_SHOW_SCRIPT_OPTIONS = '00000009'X PARAMETER DFG$K_SHOW_SCRIPT_PREDECESSOR = '0000000A'X PARAMETER DFG$K_SHOW_SCRIPT_Q_ACTION = '0000000B'X PARAMETER DFG$K_SHOW_SCRIPT_Q_CANCEL = '0000000C'X PARAMETER DFG$K_SHOW_SCRIPT_Q_REMAINING = '0000000D'X PARAMETER DFG$K_SHOW_SCRIPT_Q_START_TIME = '0000000E'X PARAMETER DFG$K_SHOW_SCRIPT_Q_STATUS = '0000000F'X PARAMETER DFG$K_SHOW_SCRIPT_SCH_FLAGS = '00000010'X PARAMETER DFG$K_SHOW_SCRIPT_SCRIPT = '00000011'X PARAMETER DFG$K_SHOW_SCRIPT_SUCCESSOR = '00000012'X PARAMETER DFG$K_SHOW_SCRIPT_TIME_LIMIT = '00000013'X PARAMETER DFG$K_SHOW_SCRIPT_VOLUME = '00000014'X PARAMETER DFG$K_SHOW_SCRIPT_FILE = '00000015'X PARAMETER DFG$K_SHOW_SCRIPT_POST_PROC = '00000016'X PARAMETER DFG$K_SHOW_SCRIPT_PRE_PROC = '00000017'X PARAMETER DFG$K_MAX_SHOW_SCRIPT_CODES = '00000017'X PARAMETER DFG$K_ABORT_ISSUED = '00000001'X PARAMETER DFG$K_ABORT_NOT_ISSUED = '00000002'X PARAMETER DFG$K_ENGINE_ABORTED = '00000003'X PARAMETER DFG$K_ENGINE_TERMINATED = '00000004'X PARAMETER DFG$M_CONTINUOUS = '00000001'X PARAMETER DFG$M_FILE_COMMAND = '00000002'X PARAMETER DFG$M_SPARE_SCH = 'FFFFFFFC'X STRUCTURE /SCH_FLAGS/ PARAMETER DFG$S_CONTINUOUS = 1 PARAMETER DFG$V_CONTINUOUS = 0 PARAMETER DFG$S_FILE_COMMAND = 1 PARAMETER DFG$V_FILE_COMMAND = 1 PARAMETER DFG$S_SPARE_SCH = 30 PARAMETER DFG$V_SPARE_SCH = 2 BYTE %FILL (4) END STRUCTURE ! SCH_FLAGS PARAMETER DFG$K_ALL_SCH_FLAGS = '00000003'X PARAMETER DFG$M_OFFLINE_MODE = '00000001'X PARAMETER DFG$M_FULL = '00000002'X PARAMETER DFG$M_HONOR = '00000004'X PARAMETER DFG$M_INDEXED = '00000008'X PARAMETER DFG$M_LEVEL = '00000070'X PARAMETER DFG$M_LOG = '00000080'X PARAMETER DFG$M_NOTIFY = '00000100'X PARAMETER DFG$M_VOLSET = '00000200'X PARAMETER DFG$M_WRITE_CHECK = '00000400'X PARAMETER DFG$M_DEFAULT_PRIORITY = '0000F800'X PARAMETER DFG$M_ISSUE_OPCOM = '00010000'X PARAMETER DFG$M_LOW_PRIORITY = '003E0000'X PARAMETER DFG$M_USE_VPA = '00400000'X PARAMETER DFG$M_RVN_TO_DEFRAG = '7F800000'X PARAMETER DFG$M_CONSOLIDATE_FREESPACE = '80000000'X STRUCTURE /DFG_FLAGS/ PARAMETER DFG$S_OFFLINE_MODE = 1 PARAMETER DFG$V_OFFLINE_MODE = 0 ! Supersedes "ERASE" bit PARAMETER DFG$S_FULL = 1 PARAMETER DFG$V_FULL = 1 ! Use Full option for error log PARAMETER DFG$S_HONOR = 1 PARAMETER DFG$V_HONOR = 2 ! Honor file placement in header PARAMETER DFG$S_INDEXED = 1 PARAMETER DFG$V_INDEXED = 3 ! Ok to place indexed files PARAMETER DFG$S_LEVEL = 3 PARAMETER DFG$V_LEVEL = 4 ! Defrag level PARAMETER DFG$S_LOG = 1 PARAMETER DFG$V_LOG = 7 ! Log file needed from defrag PARAMETER DFG$S_NOTIFY = 1 PARAMETER DFG$V_NOTIFY = 8 ! Notify on start/complete via opcom PARAMETER DFG$S_VOLSET = 1 PARAMETER DFG$V_VOLSET = 9 ! Volume is a volume set PARAMETER DFG$S_WRITE_CHECK = 1 PARAMETER DFG$V_WRITE_CHECK = 10 ! Perform write check on every file moved PARAMETER DFG$S_DEFAULT_PRIORITY = 5 PARAMETER DFG$V_DEFAULT_PRIORITY = 11 ! Def priority of DFO proc PARAMETER DFG$S_ISSUE_OPCOM = 1 PARAMETER DFG$V_ISSUE_OPCOM = 16 ! Whether to issue opcom msgs PARAMETER DFG$S_LOW_PRIORITY = 5 PARAMETER DFG$V_LOW_PRIORITY = 17 ! Lowest priority of DFO proc PARAMETER DFG$S_USE_VPA = 1 PARAMETER DFG$V_USE_VPA = 22 ! Call DECps (VPA) for hotfiles PARAMETER DFG$S_RVN_TO_DEFRAG = 8 PARAMETER DFG$V_RVN_TO_DEFRAG = 23 ! RVN of multivolume set (0 for all) PARAMETER DFG$S_CONSOLIDATE_FREESPACE = 1 PARAMETER DFG$V_CONSOLIDATE_FREESPACE = 31 BYTE %FILL (4) ! Consolidate freespace END STRUCTURE ! DFG_FLAGS PARAMETER DFG$K_ALL_DFG_FLAGS = 'FFFFFFFF'X PARAMETER DFG$K_MIN_DEFRAG_LEVEL = '00000000'X PARAMETER DFG$K_LEVEL_1 = '00000000'X ! Candidates: all files that are not contiguous PARAMETER DFG$K_LEVEL_2 = '00000001'X ! Candidates: all files that have more than a ! window-turn's worth of extents PARAMETER DFG$K_LEVEL_3 = '00000002'X ! Candidates: all files that have more than one ! header PARAMETER DFG$K_LEVEL_4 = '00000003'X ! Free space consolidation only PARAMETER DFG$K_LEVEL_5 = '00000004'X ! No defragmentation; analysis only PARAMETER DFG$K_MAX_DEFRAG_LEVEL = '00000004'X STRUCTURE /INHERIT_MASK/ PARAMETER DFG$S_INHERIT_AFTER = 1 PARAMETER DFG$V_INHERIT_AFTER = 0 PARAMETER DFG$S_INHERIT_DORMANT = 1 PARAMETER DFG$V_INHERIT_DORMANT = 1 PARAMETER DFG$S_INHERIT_EXCLUDE = 1 PARAMETER DFG$V_INHERIT_EXCLUDE = 2 PARAMETER DFG$S_INHERIT_FREQUENT = 1 PARAMETER DFG$V_INHERIT_FREQUENT = 3 PARAMETER DFG$S_INHERIT_INTERVAL = 1 PARAMETER DFG$V_INHERIT_INTERVAL = 4 PARAMETER DFG$S_INHERIT_LOG = 1 PARAMETER DFG$V_INHERIT_LOG = 5 PARAMETER DFG$S_INHERIT_NODE = 1 PARAMETER DFG$V_INHERIT_NODE = 6 PARAMETER DFG$S_INHERIT_OPTIONS = 1 PARAMETER DFG$V_INHERIT_OPTIONS = 7 PARAMETER DFG$S_INHERIT_PREDECESSOR = 1 PARAMETER DFG$V_INHERIT_PREDECESSOR = 8 PARAMETER DFG$S_INHERIT_TIME_LIMIT = 1 PARAMETER DFG$V_INHERIT_TIME_LIMIT = 9 PARAMETER DFG$S_INHERIT_FILE = 1 PARAMETER DFG$V_INHERIT_FILE = 10 PARAMETER DFG$S_INHERIT_POST_PROC = 1 PARAMETER DFG$V_INHERIT_POST_PROC = 11 PARAMETER DFG$S_INHERIT_PRE_PROC = 1 PARAMETER DFG$V_INHERIT_PRE_PROC = 12 PARAMETER DFG$S_INHERIT_SCRIPT = 1 PARAMETER DFG$V_INHERIT_SCRIPT = 13 PARAMETER DFG$S_INHERIT_FILL = 18 PARAMETER DFG$V_INHERIT_FILL = 14 BYTE %FILL (4) END STRUCTURE ! INHERIT_MASK PARAMETER DFG$K_ALL_SCRIPTS = '04030201'X PARAMETER DFG$K_SCRIPT_NAME_MAX_SIZE = '00000040'X PARAMETER DFG$K_HIGH_PRIORITY = '0000000F'X