VMS Help SET, RMS_DEFAULT, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.$ SET RMS_DEFAULT/BLOCK_COUNT=24 $ SHOW RMS_DEFAULT MULTI- | MULTIBUFFER COUNTS | NETWORK BLOCK | Indexed Relative Sequential | BLOCK COUNT | Disk Magtape Unit Record | COUNT Process 24 | 0 0 0 0 0 | 0 System 16 | 0 0 0 0 0 | 8 Prolog Extend Quantity VCC_DFW QUERY_LOCK Process 0 0 0 System System 0 0 0 Enabled CONTENTION_POLICY Process System System Never The SET RMS_DEFAULT command in this example sets the multiblock count for disk file I/O at 24 for user programs that do not set the multiblock count explicitly. The command applies only to the current process. Note that the placeholder, VCC_DFW, is currently reserved to Compaq. 2.$ SET RMS_DEFAULT/BUFFER_COUNT=8/MAGTAPE $ SHOW RMS_DEFAULT MULTI- | MULTIBUFFER COUNTS | NETWORK BLOCK | Indexed Relative Sequential | BLOCK COUNT | Disk Magtape Unit Record | COUNT Process 0 | 0 0 0 8 0 | 0 System 16 | 0 0 0 0 0 | 8 Prolog Extend Quantity VCC_DFW QUERY_LOCK Process 0 0 0 System System 0 0 0 Enabled CONTENTION_POLICY Process System System Never The SET RMS_DEFAULT command in this example defines the default multibuffer count for I/O magnetic tape operations at 8. Note that the placeholder, VCC_DFW, is currently reserved to Compaq. 3.$ SET RMS_DEFAULT/BUFFER_COUNT=7/NETWORK_BLOCK_COUNT=16/SYSTEM $ SHOW RMS_DEFAULT MULTI- | MULTIBUFFER COUNTS | NETWORK BLOCK | Indexed Relative Sequential | BLOCK COUNT | Disk Magtape Unit Record | COUNT Process 0 | 0 0 0 0 0 | 0 System 16 | 0 0 7 7 0 | 16 Prolog Extend Quantity VCC_DFW QUERY_LOCK Process 0 0 0 System System 0 0 0 Enabled CONTENTION_POLICY Process System System Never The SET RMS_DEFAULT command in this example defines the systemwide default multibuffer count at 7 for all sequential file operations on disk, magnetic tape, and unit record devices. The command also sets the network block count at 16. Note that the placeholder, VCC_DFW, is currently reserved to Compaq. 4.$ SET RMS_DEFAULT/EXTEND=50/INDEXED/BUFFER_COUNT=5 $ SHOW RMS_DEFAULT MULTI- | MULTIBUFFER COUNTS | NETWORK BLOCK | Indexed Relative Sequential | BLOCK COUNT | Disk Magtape Unit Record | COUNT Process 0 | 5 0 0 0 0 | 0 System 16 | 0 0 0 0 0 | 8 Prolog Extend Quantity VCC_DFW QUERY_LOCK Process 0 50 0 System System 0 0 0 Enabled CONTENTION_POLICY Process System System Never The SET RMS_DEFAULT command in this example sets the default multibuffer count for I/O operations on indexed files at 5. It also defines the default extend quantity for sequential I/O operations at 50 blocks. These defaults apply only to disk operations for user programs that do not set the multiblock count explicitly. These defaults are limited to the current process. Note that the placeholder, VCC_DFW, is currently reserved to Compaq. 5.$ SET RMS_DEFAULT/QUERY_LOCK=DISABLE $ SHOW RMS_DEFAULT MULTI- | MULTIBUFFER COUNTS | NETWORK BLOCK | Indexed Relative Sequential | BLOCK COUNT | Disk Magtape Unit Record | COUNT Process 0 | 0 0 0 0 0 | 0 System 16 | 0 0 0 0 0 | 8 Prolog Extend Quantity VCC_DFW QUERY_LOCK Process 0 0 0 Disabled System 0 0 0 Enabled CONTENTION_POLICY Process System System Never The SET RMS_DEFAULT command in this example requests that query locking be disabled for the duration of any file opens done by images within this process for any read ($GET or $FIND) record operations that have both RAB$V_NLK (no lock) and RAB$V_RRL (read-regardless) set in the RAB$L_ROP field of the RAB (Record Access Block). Note that the placeholder, VCC_DFW, is currently reserved to Compaq.
|