! *** PREDECLARED TYPES %IF %DECLARED ( %BASIC$QUADWORD_DECLARED ) = 0 %THEN RECORD BASIC$QUADWORD LONG FILL ( 2 ) END RECORD %LET %BASIC$QUADWORD_DECLARED = 1 %END %IF %IF %DECLARED ( %BASIC$OCTAWORD_DECLARED ) = 0 %THEN RECORD BASIC$OCTAWORD LONG FILL ( 4 ) END RECORD %LET %BASIC$OCTAWORD_DECLARED = 1 %END %IF %IF %DECLARED ( %BASIC$HFLOAT_AXP_DECLARED ) = 0 %THEN RECORD BASIC$HFLOAT_AXP LONG FILL ( 4 ) END RECORD %LET %BASIC$HFLOAT_AXP_DECLARED = 1 %END %IF %IF %DECLARED ( %BASIC$F_FLOATING_COMPLEX_DECL ) = 0 %THEN RECORD BASIC$F_FLOATING_COMPLEX SINGLE REAL_PART SINGLE IMAGINARY_PART END RECORD %LET %BASIC$F_FLOATING_COMPLEX_DECL = 1 %END %IF %IF %DECLARED ( %BASIC$D_FLOATING_COMPLEX_DECL ) = 0 %THEN RECORD BASIC$D_FLOATING_COMPLEX DOUBLE REAL_PART DOUBLE IMAGINARY_PART END RECORD %LET %BASIC$D_FLOATING_COMPLEX_DECL = 1 %END %IF %IF %DECLARED ( %BASIC$G_FLOATING_COMPLEX_DECL ) = 0 %THEN RECORD BASIC$G_FLOATING_COMPLEX GFLOAT REAL_PART GFLOAT IMAGINARY_PART END RECORD %LET %BASIC$G_FLOATING_COMPLEX_DECL = 1 %END %IF %IF %DECLARED ( %BASIC$H_FLOAT_AXP_CMPLX_DCL ) = 0 %THEN RECORD BASIC$H_FLOATING_COMPLEX_AXP BASIC$HFLOAT_AXP REAL_PART BASIC$HFLOAT_AXP IMAGINARY_PART END RECORD %LET %BASIC$H_FLOAT_AXP_CMPLX_DCL = 1 %END %IF ! + ! ! Get Device and Volume Information Data Identifier Definitions ! ! **** NOTE **** ! ! New items must always be added at the END of the list so that ! users will not have to rebuild. ! ! - DECLARE LONG CONSTANT DVI$_DEVCHAR = 2 ! Device characteristics - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_DEVCLASS = 4 ! Device class - VALUE - 1 byte DECLARE LONG CONSTANT DVI$_DEVTYPE = 6 ! Device type - VALUE - 1 byte DECLARE LONG CONSTANT DVI$_DEVBUFSIZ = 8 ! Device buffer size - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_DEVDEPEND = 10 ! Device dependent information - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_UNIT = 12 ! Unit number - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_PID = 14 ! Process identification of device owner - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_OWNUIC = 16 ! UIC of device owner - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_VPROT = 18 ! Volume protection mask - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_ERRCNT = 20 ! Error count - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_OPCNT = 22 ! Operation count - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_RECSIZ = 24 ! Blocked record size - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_MAXBLOCK = 26 ! Number of logical blocks on the volume (disk) - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_DEVDEPEND2 = 28 ! Additional device dependent data - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_REFCNT = 30 ! Reference count of processes - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_DEVNAM = 32 ! Device name - STRING - 64 bytes DECLARE LONG CONSTANT DVI$_VOLNAM = 34 ! Volume name - STRING - 12 bytes DECLARE LONG CONSTANT DVI$_SECTORS = 36 ! Number of sectors per track (disk) - VALUE - 1 byte DECLARE LONG CONSTANT DVI$_TRACKS = 38 ! Number of tracks per cylinder (disk) - VALUE - 1 byte DECLARE LONG CONSTANT DVI$_CYLINDERS = 40 ! Number of cylinders on the volume (disk) - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_FREEBLOCKS = 42 ! Number of free blocks on the volume (disk) - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_LOGVOLNAM = 44 ! Logical volume name - STRING - 64 bytes DECLARE LONG CONSTANT DVI$_VOLNUMBER = 46 ! Number of this volume in volume set (disk) - VALUE - 4 byte DECLARE LONG CONSTANT DVI$_VOLCOUNT = 48 ! Count of volumes in volume set (disk) - VALUE - 4 byte DECLARE LONG CONSTANT DVI$_ROOTDEVNAM = 50 ! Device name of root volume in volume set (disk) - STRING - 64 bytes DECLARE LONG CONSTANT DVI$_NEXTDEVNAM = 52 ! Device name of next volume in volume set (disk) - STRING - 64 bytes DECLARE LONG CONSTANT DVI$_TRANSCNT = 54 ! Volume Transaction Count - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_MOUNTCNT = 56 ! Mount count - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_CLUSTER = 58 ! Volume Cluster Size (disk) - VALUE - 2 bytes DECLARE LONG CONSTANT DVI$_MAXFILES = 60 ! Maximum Files on Volume (disk) - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_SERIALNUM = 62 ! Volume Serial Number (disk) - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_ACPPID = 64 ! ACP Process ID - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_ACPTYPE = 66 ! ACP type code - VALUE - 1 byte DECLARE LONG CONSTANT DVI$_CONCEALED = 68 ! Device is a concealed device - BOOLEAN - 1 byte ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVCHAR LONGWORD ! DECLARE LONG CONSTANT DVI$_REC = 70 ! DEVICE RECORD ORIENTED DECLARE LONG CONSTANT DVI$_CCL = 72 ! CARRIAGE CONTROL DEVICE DECLARE LONG CONSTANT DVI$_TRM = 74 ! DEVICE IS A TERMINAL DECLARE LONG CONSTANT DVI$_DIR = 76 ! DEVICE IS DIRECTORY STRUCTURED DECLARE LONG CONSTANT DVI$_SDI = 78 ! DEVICE IS SINGLE DIRECTORY STRUCTURED DECLARE LONG CONSTANT DVI$_SQD = 80 ! SEQUENTIAL BLOCK-ORIENTED DEVICE (I.E., MAGTAPE) DECLARE LONG CONSTANT DVI$_SPL = 82 ! DEVICE BEING SPOOLED DECLARE LONG CONSTANT DVI$_OPR = 84 ! DEVICE IS AN OPERATOR DECLARE LONG CONSTANT DVI$_RCT = 86 ! DISK CONTAINS RCT (DEC STANDARD 166 DISK) DECLARE LONG CONSTANT DVI$_NET = 88 ! NETWORK DEVICE DECLARE LONG CONSTANT DVI$_FOD = 90 ! FILES-ORIENTED DEVICE (I.E., DISK AND MT) DECLARE LONG CONSTANT DVI$_DUA = 92 ! DEVICE IS DUAL PORTED DECLARE LONG CONSTANT DVI$_SHR = 94 ! DEVICE SHAREABLE DECLARE LONG CONSTANT DVI$_GEN = 96 ! DEVICE IS A GENERIC DEVICE DECLARE LONG CONSTANT DVI$_AVL = 98 ! DEVICE AVAILABLE FOR USE DECLARE LONG CONSTANT DVI$_MNT = 100 ! DEVICE IS MOUNTED DECLARE LONG CONSTANT DVI$_MBX = 102 ! DEVICE IS A MAILBOX DECLARE LONG CONSTANT DVI$_DMT = 104 ! DEVICE MARKED FOR DISMOUNT DECLARE LONG CONSTANT DVI$_ELG = 106 ! DEVICE HAS ERROR LOGGING ENABLED DECLARE LONG CONSTANT DVI$_ALL = 108 ! DEVICE IS ALLOCATED DECLARE LONG CONSTANT DVI$_FOR = 110 ! DEVICE IS MOUNTED FOREIGN (I.E., NON-FILE STRUCTURED) DECLARE LONG CONSTANT DVI$_SWL = 112 ! DEVICE IS SOFTWARE WRITE LOCKED DECLARE LONG CONSTANT DVI$_IDV = 114 ! DEVICE CAPABLE OF PROVIDING INPUT DECLARE LONG CONSTANT DVI$_ODV = 116 ! DEVICE CAPABLE OF PROVIDING OUTPUT DECLARE LONG CONSTANT DVI$_RND = 118 ! DEVICE ALLOWS RANDOM ACCESS DECLARE LONG CONSTANT DVI$_RTM = 120 ! DEVICE IS REALTIME IN NATURE DECLARE LONG CONSTANT DVI$_RCK = 122 ! DEVICE HAS READ CHECKING ENABLED DECLARE LONG CONSTANT DVI$_WCK = 124 ! DEVICE HAS WRITE CHECKING ENABLED ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVDEPEND LONGWORD ! * (AS DEFINED FOR TERMINALS: TTDEF IN STARDEFQZ.SDL) ! DECLARE LONG CONSTANT DVI$_TT_PASSALL = 126 DECLARE LONG CONSTANT DVI$_TT_NOECHO = 128 DECLARE LONG CONSTANT DVI$_TT_NOTYPEAHD = 130 DECLARE LONG CONSTANT DVI$_TT_ESCAPE = 132 DECLARE LONG CONSTANT DVI$_TT_HOSTSYNC = 134 DECLARE LONG CONSTANT DVI$_TT_TTSYNC = 136 DECLARE LONG CONSTANT DVI$_TT_SCRIPT = 138 DECLARE LONG CONSTANT DVI$_TT_LOWER = 140 DECLARE LONG CONSTANT DVI$_TT_MECHTAB = 142 DECLARE LONG CONSTANT DVI$_TT_WRAP = 144 DECLARE LONG CONSTANT DVI$_TT_CRFILL = 146 DECLARE LONG CONSTANT DVI$_TT_LFFILL = 148 DECLARE LONG CONSTANT DVI$_TT_SCOPE = 150 DECLARE LONG CONSTANT DVI$_TT_REMOTE = 152 DECLARE LONG CONSTANT DVI$_TT_EIGHTBIT = 154 DECLARE LONG CONSTANT DVI$_TT_MBXDSABL = 156 DECLARE LONG CONSTANT DVI$_TT_NOBRDCST = 158 DECLARE LONG CONSTANT DVI$_TT_READSYNC = 160 DECLARE LONG CONSTANT DVI$_TT_MECHFORM = 162 DECLARE LONG CONSTANT DVI$_TT_HALFDUP = 164 DECLARE LONG CONSTANT DVI$_TT_MODEM = 166 DECLARE LONG CONSTANT DVI$_TT_OPER = 168 DECLARE LONG CONSTANT DVI$_TT_PAGE = 170 ! ! * THE FOLLOWING CODES ARE THE INDIVIDUAL BITS OF THE DEVDEPEND2 LONGWORD ! * (AS DEFINED FOR TERMINALS: TT2DEF IN STARDEFQZ.SDL) ! DECLARE LONG CONSTANT DVI$_TT_LOCALECHO = 172 DECLARE LONG CONSTANT DVI$_TT_AUTOBAUD = 174 DECLARE LONG CONSTANT DVI$_TT_HANGUP = 176 DECLARE LONG CONSTANT DVI$_TT_MODHANGUP = 178 DECLARE LONG CONSTANT DVI$_TT_BRDCSTMBX = 180 DECLARE LONG CONSTANT DVI$_TT_DMA = 182 DECLARE LONG CONSTANT DVI$_TT_ALTYPEAHD = 184 DECLARE LONG CONSTANT DVI$_TT_SETSPEED = 186 DECLARE LONG CONSTANT DVI$_TT_DCL_MAILBX = 188 ! TEMP DEFINITIONS FOR DCL SPAWN DECLARE LONG CONSTANT DVI$_TT_EDITING = 190 DECLARE LONG CONSTANT DVI$_TT_INSERT = 192 DECLARE LONG CONSTANT DVI$_TT_FALLBACK = 194 DECLARE LONG CONSTANT DVI$_TT_DIALUP = 196 DECLARE LONG CONSTANT DVI$_TT_SECURE = 198 DECLARE LONG CONSTANT DVI$_TT_DISCONNECT = 200 DECLARE LONG CONSTANT DVI$_TT_PASTHRU = 202 DECLARE LONG CONSTANT DVI$_TT_SIXEL = 204 DECLARE LONG CONSTANT DVI$_TT_DRCS = 206 DECLARE LONG CONSTANT DVI$_TT_PRINTER = 208 DECLARE LONG CONSTANT DVI$_TT_APP_KEYPAD = 210 DECLARE LONG CONSTANT DVI$_TT_SYSPWD = 212 DECLARE LONG CONSTANT DVI$_TT_ANSICRT = 214 DECLARE LONG CONSTANT DVI$_TT_REGIS = 216 DECLARE LONG CONSTANT DVI$_TT_BLOCK = 218 DECLARE LONG CONSTANT DVI$_TT_AVO = 220 DECLARE LONG CONSTANT DVI$_TT_EDIT = 222 DECLARE LONG CONSTANT DVI$_TT_DECCRT = 224 ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! DECLARE LONG CONSTANT DVI$_STS = 226 ! STATUS LONGWORD DECLARE LONG CONSTANT DVI$_DEVSTS = 228 ! DEVICE STATUS WORD DECLARE LONG CONSTANT DVI$_DEVCHAR2 = 230 ! Second device characteristics longword - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_FULLDEVNAM = 232 ! Fully qualified device name DECLARE LONG CONSTANT DVI$_LOCKID = 234 ! Device lock id - VALUE - 4 bytes DECLARE LONG CONSTANT DVI$_ALLDEVNAM = 236 ! Allocation class + device name DECLARE LONG CONSTANT DVI$_VOLSETMEM = 238 ! Volume set member DECLARE LONG CONSTANT DVI$_DEVLOCKNAM = 240 ! Device lock name ! ! * THE FOLLOWING CODES SUPPORT FEATURES OF DUAL-PATH AND SHADOW-SET DEVICES ! DECLARE LONG CONSTANT DVI$_ALLOCLASS = 242 ! Allocation class of host(s) DECLARE LONG CONSTANT DVI$_ALT_HOST_AVAIL = 244 ! Alternate host is active DECLARE LONG CONSTANT DVI$_ALT_HOST_NAME = 246 ! Name of host serving alternate path DECLARE LONG CONSTANT DVI$_ALT_HOST_TYPE = 248 ! Type of alternate host DECLARE LONG CONSTANT DVI$_HOST_AVAIL = 250 ! Primary host is active DECLARE LONG CONSTANT DVI$_HOST_COUNT = 252 ! Number of paths to the device DECLARE LONG CONSTANT DVI$_HOST_NAME = 254 ! Name of host serving the primary path DECLARE LONG CONSTANT DVI$_HOST_TYPE = 256 ! Type of primary host (today one of "V785", "V780", "V750" or "HS50") DECLARE LONG CONSTANT DVI$_REMOTE_DEVICE = 258 ! Device is not connected to local node DECLARE LONG CONSTANT DVI$_SERVED_DEVICE = 260 ! Device is served to the cluster DECLARE LONG CONSTANT DVI$_SHDW_CATCHUP_COPYING = 262 ! Catch-up copy is in progress DECLARE LONG CONSTANT DVI$_SHDW_MASTER = 264 ! Device is "virtual" master device for shadow set DECLARE LONG CONSTANT DVI$_SHDW_MASTER_NAME = 266 ! Name of the "virtual" master device for a shadow set DECLARE LONG CONSTANT DVI$_SHDW_MEMBER = 268 ! Device is one of the volumes making a shadow set DECLARE LONG CONSTANT DVI$_SHDW_MERGE_COPYING = 270 ! Merge copy is in progress DECLARE LONG CONSTANT DVI$_SHDW_NEXT_MBR_NAME = 272 ! Name of the next device in shadow set ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! DECLARE LONG CONSTANT DVI$_TT_PHYDEVNAM = 274 ! Terminal physical device name - STRING - 64 bytes DECLARE LONG CONSTANT DVI$_TT_DECCRT2 = 276 ! DEC_CRT level 2 part of devdepend2 longword for ! terminals. DECLARE LONG CONSTANT DVI$_MEDIA_NAME = 278 ! Decoded media name from UCB$L_MEDIA_ID field (ie. RK07 ) DECLARE LONG CONSTANT DVI$_MEDIA_TYPE = 280 ! Decoded media type from UCB$L_MEDIA_ID field (ie. DM ) DECLARE LONG CONSTANT DVI$_MEDIA_ID = 282 ! NONdecoded media id from UCB$L_MEDIA_ID ! DECLARE LONG CONSTANT DVI$_SHDW_FAILED_MEMBER = 284 ! Member unit has been failed out from shadow set DECLARE LONG CONSTANT DVI$_MSCP_UNIT_NUMBER = 286 ! MSCP unit number of device (internal hash ! value, not useful for customers or applications) DECLARE LONG CONSTANT DVI$_DISPLAY_DEVNAM = 288 ! A displayable device name, useful for user ! displays but not for $ASSIGN DECLARE LONG CONSTANT DVI$_TT_ACCPORNAM = 290 ! Name of local port on remote system. Counted ! string in remote native format, ie: LAT, X.29 DECLARE LONG CONSTANT DVI$_DEVDEPEND3 = 292 ! Device dependent longword 3 DECLARE LONG CONSTANT DVI$_TT_MULTISESSION = 294 ! Multi-session terminal DECLARE LONG CONSTANT DVI$_TT_DECCRT3 = 296 ! VT3xx series terminal DECLARE LONG CONSTANT DVI$_SET_HOST_TERMINAL = 298 ! SET HOST session terminal DECLARE LONG CONSTANT DVI$_DFS_ACCESS = 300 ! DFS client access point device DECLARE LONG CONSTANT DVI$_DAPDEVNAM = 302 ! DAP device name, used to store the remote ! name string of a device that is accessed via ! the DAP protocol (without DECnet), such as ! certain console disks. DECLARE LONG CONSTANT DVI$_TT_DECCRT4 = 304 ! VT4xx series terminal DECLARE LONG CONSTANT DVI$_TT_CHARSET = 306 ! Terminal character set information ! ! * The following codes are the individual bits of the TT_CHARSET longword ! * in the terminal UCB (as defined in TTCDEF) ! DECLARE LONG CONSTANT DVI$_TT_CS_KANA = 308 ! Support Kana character set DECLARE LONG CONSTANT DVI$_TT_CS_KANJI = 310 ! Support Kanji character set DECLARE LONG CONSTANT DVI$_TT_CS_HANZI = 312 ! Support Hanzi character set DECLARE LONG CONSTANT DVI$_TT_CS_HANGUL = 314 ! Support Hangul character set DECLARE LONG CONSTANT DVI$_TT_CS_HANYU = 316 ! Support Hanyu character set DECLARE LONG CONSTANT DVI$_TT_CS_THAI = 318 ! Support Thai character set ! ! * THE FOLLOWING CODES ARE REGULAR ITEMS ! DECLARE LONG CONSTANT DVI$_DEVDEPEND4 = 320 ! Device dependent longword 4 DECLARE LONG CONSTANT DVI$_DEVICE_TYPE_NAME = 322 ! DDR Device type name DECLARE LONG CONSTANT DVI$_TT_ASIAN_MODE = 324 ! Asian terminal I/O characteristics DECLARE LONG CONSTANT DVI$_PREFERRED_CPU = 326 ! Return CPU affinity of device DECLARE LONG CONSTANT DVI$_TT_DECCRT5 = 328 ! VT5xx series terminal DECLARE LONG CONSTANT DVI$_TT_ANSI_COLOR = 330 ! Terminal supports ANSI color escape sequences DECLARE LONG CONSTANT DVI$_MT3_SUPPORTED = 332 ! Tape UCB owned by an MTD enhanced ! driver? (longword) DECLARE LONG CONSTANT DVI$_MT3_DENSITY = 334 ! Tape density. (longword) DECLARE LONG CONSTANT DVI$_DRIVER_IMAGE_NAME = 336 ! Driver image name -- STRING DECLARE LONG CONSTANT DVI$_CLIENT_DEVICE = 338 ! Client device flag -- BOOLEAN DECLARE LONG CONSTANT DVI$_FC_PORT_NAME = 340 ! Fibre Channel Port Name -- STRING DECLARE LONG CONSTANT DVI$_FC_NODE_NAME = 342 ! Fibre Channel Node Name -- STRING DECLARE LONG CONSTANT DVI$_WWID = 344 ! SCSI Fibre Channel Device (Disk, Tape, etc.) ! World Wide Identifier -- STRING DECLARE LONG CONSTANT DVI$_VOLCHAR = 346 ! Volume Characteristics (16 bytes) DECLARE LONG CONSTANT DVI$_HBVS_MASTER_MEMBER = 348 ! This device is master member of of shadow set DECLARE LONG CONSTANT DVI$_MULTIPATH = 350 ! this device is a member of a multipath set DECLARE LONG CONSTANT DVI$_MPDEV_CURRENT_PATH = 352 ! the current path of the multipath set DECLARE LONG CONSTANT DVI$_VOLSIZE = 354 ! the current logical volume size DECLARE LONG CONSTANT DVI$_EXPSIZE = 356 ! the growth limit of the volume DECLARE LONG CONSTANT DVI$_QLEN = 358 ! the queue length on the device DECLARE LONG CONSTANT DVI$_SHDW_SITE = 360 ! the shadowing site-specific value for the device DECLARE LONG CONSTANT DVI$_SHDW_MBR_COUNT = 362 ! the number of full members in a virtual unit DECLARE LONG CONSTANT DVI$_SHDW_DEVICE_COUNT = 364 ! the number of members in a virtual unit DECLARE LONG CONSTANT DVI$_SHDW_MBR_READ_COST = 366 ! the read cost for a member DECLARE LONG CONSTANT DVI$_SHDW_READ_SOURCE = 368 ! the name of the member from which reads occur DECLARE LONG CONSTANT DVI$_SHDW_TIMEOUT = 370 ! the timeout value for the device DECLARE LONG CONSTANT DVI$_DVI_UNUSED_1 = 372 ! Had been shdw_start_delay DECLARE LONG CONSTANT DVI$_SHDW_GENERATION = 374 ! the generation number DECLARE LONG CONSTANT DVI$_SHDW_STATUS = 376 ! the status of either the member or virtual unit DECLARE LONG CONSTANT DVI$_SHDW_MBR_COPY_DONE = 378 ! the percent done of a copy operation DECLARE LONG CONSTANT DVI$_SHDW_MBR_MERGE_DONE = 380 ! the percent done of a full merge operation DECLARE LONG CONSTANT DVI$_SHDW_MINIMERGE_ENABLE = 382 ! is this virtual unit enabled for mini-merge? DECLARE LONG CONSTANT DVI$_DVI_UNUSED_2 = 384 ! had been shdw_minimerge_capable DECLARE LONG CONSTANT DVI$_SHDW_COPIER_NODE = 386 ! the node on which the copy is being done DECLARE LONG CONSTANT DVI$_SHDW_MASTER_MBR = 388 ! the device that is the master member of the virtual unit DECLARE LONG CONSTANT DVI$_MPDEV_AUTO_PATH_SW_CNT = 390 ! number of times the device switched paths due to an I/O error DECLARE LONG CONSTANT DVI$_MPDEV_MAN_PATH_SW_CNT = 392 ! number of times the device switched paths due to $SET DEVICE & ! /PATH= /SWITCH DECLARE LONG CONSTANT DVI$_WRITETHRU_CACHE_ENABLED = 394 ! vcb$v_writethru DECLARE LONG CONSTANT DVI$_NOCACHE_ON_VOLUME = 396 ! vcb$v_nocache DECLARE LONG CONSTANT DVI$_MOUNTVER_ELIGIBLE = 398 ! vcb$v_mountver DECLARE LONG CONSTANT DVI$_ERASE_ON_DELETE = 400 ! vcb$v_erase DECLARE LONG CONSTANT DVI$_NOHIGHWATER = 402 ! vcb$v_nohighwater DECLARE LONG CONSTANT DVI$_NOSHARE_MOUNTED = 404 ! vcb$v_noshare DECLARE LONG CONSTANT DVI$_CLUSLOCK = 406 ! vcb$v_cluslock DECLARE LONG CONSTANT DVI$_ODS2_SUBSET0 = 408 ! vcb$v_subset0 DECLARE LONG CONSTANT DVI$_PROT_SUBSYSTEM_ENABLED = 410 ! vcb$v_subsystem DECLARE LONG CONSTANT DVI$_ODS5 = 412 ! vcb$v_struc_ods5 DECLARE LONG CONSTANT DVI$_ACCESSTIMES_RECORDED = 414 ! vcb$v_accesstimes DECLARE LONG CONSTANT DVI$_HARDLINKS_SUPPORTED = 416 ! vcb$v_hardlinks DECLARE LONG CONSTANT DVI$_SCSI_DEVICE_FIRMWARE_REV = 418 ! firmware revision level for SCSI devices DECLARE LONG CONSTANT DVI$_TOTAL_PATH_COUNT = 420 ! number of configured multipath paths DECLARE LONG CONSTANT DVI$_AVAILABLE_PATH_COUNT = 422 ! number of working and enabled paths DECLARE LONG CONSTANT DVI$_VOLUME_EXTEND_QUANTITY = 424 ! default volume extend quantity DECLARE LONG CONSTANT DVI$_MOUNT_TIME = 426 ! time the volume was mounted DECLARE LONG CONSTANT DVI$_VOLUME_MOUNT_SYS = 428 ! vcb$v_system DECLARE LONG CONSTANT DVI$_VOLUME_MOUNT_GROUP = 430 ! vcb$v_group DECLARE LONG CONSTANT DVI$_PATH_AVAILABLE = 432 ! DECLARE LONG CONSTANT DVI$_PATH_USER_DISABLED = 434 ! DECLARE LONG CONSTANT DVI$_PATH_NOT_RESPONDING = 436 ! sud$v_not_responding DECLARE LONG CONSTANT DVI$_PATH_POLL_ENABLED = 438 ! DECLARE LONG CONSTANT DVI$_MVSUPMSG = 440 ! sud$v_mvsupmsg_auto DECLARE LONG CONSTANT DVI$_PATH_SWITCH_TO_TIME = 442 DECLARE LONG CONSTANT DVI$_PATH_SWITCH_FROM_TIME = 444 DECLARE LONG CONSTANT DVI$_ERROR_RESET_TIME = 446 DECLARE LONG CONSTANT DVI$_DEVICE_MAX_IO_SIZE = 448 DECLARE LONG CONSTANT DVI$_VOLUME_RETAIN_MAX = 450 DECLARE LONG CONSTANT DVI$_VOLUME_RETAIN_MIN = 452 DECLARE LONG CONSTANT DVI$_PREFERRED_CPU_BITMAP = 454 ! Bitmap indicating Fast Path CPU DECLARE LONG CONSTANT DVI$_MAILBOX_INITIAL_QUOTA = 456 DECLARE LONG CONSTANT DVI$_MAILBOX_BUFFER_QUOTA = 458 DECLARE LONG CONSTANT DVI$_VOLUME_WINDOW = 460 DECLARE LONG CONSTANT DVI$_VOLUME_SPOOLED_DEV_CNT = 462 DECLARE LONG CONSTANT DVI$_VOLUME_PENDING_WRITE_ERR = 464 DECLARE LONG CONSTANT DVI$_LAN_SPEED = 466 DECLARE LONG CONSTANT DVI$_LAN_LINK_UP = 468 DECLARE LONG CONSTANT DVI$_LAN_DEFAULT_MAC_ADDRESS = 470 DECLARE LONG CONSTANT DVI$_LAN_MAC_ADDRESS = 472 DECLARE LONG CONSTANT DVI$_LAN_FULL_DUPLEX = 474 DECLARE LONG CONSTANT DVI$_LAN_ALL_MULTICAST_MODE = 476 DECLARE LONG CONSTANT DVI$_LAN_PROMISCUOUS_MODE = 478 DECLARE LONG CONSTANT DVI$_LAN_JUMBO_FRAMES_ENABLED = 480 DECLARE LONG CONSTANT DVI$_LAN_AUTONEG_ENABLED = 482 DECLARE LONG CONSTANT DVI$_LAN_PROTOCOL_TYPE = 484 DECLARE LONG CONSTANT DVI$_LAN_PROTOCOL_NAME = 486 DECLARE LONG CONSTANT DVI$_LAN_LINK_STATE_VALID = 488 DECLARE LONG CONSTANT DVI$_FC_HBA_FIRMWARE_REV = 490 DECLARE LONG CONSTANT DVI$_ADAPTER_IDENT = 492 DECLARE LONG CONSTANT DVI$_MOUNTCNT_CLUSTER = 494 DECLARE LONG CONSTANT DVI$_SHDW_HBMM_RESET_COUNT = 496 DECLARE LONG CONSTANT DVI$_SHDW_HBMM_RESET_TIME = 498 DECLARE LONG CONSTANT DVI$_SPECIAL_FILES = 500 ! vcb$v_special_files DECLARE LONG CONSTANT DVI$_NOXFCCACHE_ON_VOLUME = 502 ! vcb$v_noxfccache DECLARE LONG CONSTANT DVI$_XFC_DEPOSING = 504 ! vcb$v_xfc_deposing DECLARE LONG CONSTANT DVI$_SSD_USAGE_REMAINING = 506 ! for SSD disk DECLARE LONG CONSTANT DVI$_SSD_LIFE_REMAINING = 508 ! for SSD disk ! ! *** ADD NEW ITEM-CODES IMMEDIATELY BEFORE THIS COMMENT ***** ! ! ! Define flag bits in the item code. ! DECLARE LONG CONSTANT DVI$M_SECONDARY = x'00000001' DECLARE LONG CONSTANT DVI$M_NOREDIRECT = x'00008000' DECLARE LONG CONSTANT DVI$S_DVIDEF = 2 record DVIDEF ! Use secondary device characteristics ! Space for item code ! Define additional flags here, subtracting the space out of the ! above item code. (The item code must contain all the unused bits ! for proper validation in the service.) ! Don't redirect to virtual terminal WORD SECONDARY_bits ! COMMENT ADDED BY SDL - SECONDARY_bits contains bits SECONDARY through NOREDIRECT end record DVIDEF ! ! Define flag bits in the volume characteristics item code. ! DECLARE LONG CONSTANT DVI$M_VOL_READDIR = x'0000000F' DECLARE LONG CONSTANT DVI$C_READDIR_NONE = 0 ! directory cannot be read (scan with repeated IO$_ACCESS) DECLARE LONG CONSTANT DVI$C_READDIR_VIO = 1 ! read directory via IO$_READVBLK DECLARE LONG CONSTANT DVI$C_READDIR_IO = 2 ! read directory via IO$_READDIR DECLARE LONG CONSTANT DVI$C_READDIR_ACP = 3 ! read directory via IO$_ACPCNTRL DECLARE LONG CONSTANT DVI$M_VOL_LENGTH_HINT = x'00000010' DECLARE LONG CONSTANT DVI$M_VOL_CACHING_ATTR = x'00000020' DECLARE LONG CONSTANT DVI$M_VOL_ACCESS_DATE = x'00000040' DECLARE LONG CONSTANT DVI$M_VOL_HARDLINK = x'00000080' DECLARE LONG CONSTANT DVI$M_VOL_SET_SECURITY = x'00000100' DECLARE LONG CONSTANT DVI$M_VOL_FID_TO_NAME = x'00000200' DECLARE LONG CONSTANT DVI$M_VOL_ODS1_STYLE_PURGE = x'00000400' DECLARE LONG CONSTANT DVI$M_VOL_SHARED_TRUNCATE = x'00000800' DECLARE LONG CONSTANT DVI$M_VOL_WRITE_BARRIER = x'00001000' DECLARE LONG CONSTANT DVI$M_VOL_DIRSEQ_QIO = x'00002000' DECLARE LONG CONSTANT DVI$M_VOL_EFS = x'00004000' DECLARE LONG CONSTANT DVI$M_VOL_UCS2 = x'00008000' DECLARE LONG CONSTANT DVI$M_VOL_CASE_VARIANT = x'00010000' DECLARE LONG CONSTANT DVI$M_VOL_MODDATE = x'00020000' DECLARE LONG CONSTANT DVI$M_VOL_SPECIAL_FILE = x'00040000' DECLARE LONG CONSTANT DVI$M_VOL_SSIO = x'00080000' DECLARE LONG CONSTANT DVI$M_VOL_LOOKUP_SPECIAL = x'00100000' DECLARE LONG CONSTANT DVI$S_DVIVOLDEF = 16 record DVIVOLDEF group DVI$R_DVIVOL_OVERLAY variant case BYTE DVI$B_VOL_CHAR ( 1 to 16 ) case group DVI$R_VOL_CHAR_FIELDS ! Read/scan a directory (4 bit field): ! file length hint ! support 'caching attribute' (contents, atttribute, on_close) ! access date ! hardlink ! set volume security profile support ! ATR$C_FILE_SPEC attribute (lib$fid_to_name) ! post ODS1 style purge operation ! Support truncate when open shared (Spiralog only?) ! Support IO$M_WRITE_BARRIER (vs IO$M_BARRIER) ! read/arm DIRSEQ by QIO ! extended file specification ! ucs2 file names ! case variant names ! support for modification date (ATR$C_MODDATE). ! special file support including symbolic links (SYMLINK) ! support for shared stream I/O (SSIO) ! support for special file detection in file lookup LONG VOL_READDIR_bits ! COMMENT ADDED BY SDL - VOL_READDIR_bits contains bits VOL_READDIR through FILL_122_ end group DVI$R_VOL_CHAR_FIELDS end variant end group DVI$R_DVIVOL_OVERLAY end record DVIVOLDEF ! ! Constant form of name for past compatibility. ! DECLARE LONG CONSTANT DVI$C_SECONDARY = 1 ! ! The following ACP type codes are formally defined in $AQBDEF ! These synonyms are available to user programs and they are ! guaranteed to be consistent by ASSUME's in SYSGETDVI. Additions ! to the ACP type codes in $AQBDEF should be reflected here and ! in the ASSUMES in SYSGETDVI. ! ! If you add ACP codes here, you must also update the ACP_TYPES ! text translation table embedded over in [lib]liblexica.bli. ! DECLARE LONG CONSTANT DVI$C_ACP_F11V1 = 1 ! FILES-11 STRUCTURE LEVEL 1 DECLARE LONG CONSTANT DVI$C_ACP_F11V2 = 2 ! FILES-11 STRUCTURE LEVEL 2 DECLARE LONG CONSTANT DVI$C_ACP_MTA = 3 ! MAGTAPE DECLARE LONG CONSTANT DVI$C_ACP_NET = 4 ! NETWORKS DECLARE LONG CONSTANT DVI$C_ACP_REM = 5 ! REMOTE I/O DECLARE LONG CONSTANT DVI$C_ACP_HBS = 6 ! HOST BASED SHADOWING DECLARE LONG CONSTANT DVI$C_ACP_F11V3 = 7 ! Files-11 presentation of ISO 9660 DECLARE LONG CONSTANT DVI$C_ACP_F11V4 = 8 ! Files-11 presentation of High Sierra DECLARE LONG CONSTANT DVI$C_ACP_F64 = 9 ! Files 64 support for Dollar DECLARE LONG CONSTANT DVI$C_ACP_UCX = 10 ! ACP for TCP/IP Services for OpenVMS DECLARE LONG CONSTANT DVI$C_ACP_F11V5 = 11 ! FILES-11 STRUCTURE LEVEL 5 DECLARE LONG CONSTANT DVI$C_ACP_F11V6 = 12 ! FILES-11 STRUCTURE LEVEL 6 DECLARE LONG CONSTANT DVI$C_ACP_HBVS = 13 ! Host Based Volume Shadowing SCP