[Digital logo]
[HR]

OpenVMS DCL Dictionary


Previous | Contents

In this example, the SET VERIFY command turns procedure and image verification on. When the command procedure TEST.COM is executed interactively, the command lines and the data lines for the program AVERAGE are displayed on the terminal. The data lines were entered in the command procedure on lines that did not begin with the DCL prompt. #5

$ SET VERIFY 
$ COUNT = 1 
$ IF P'COUNT' .NES. "" THEN GOTO &P'COUNT' 
   .
   .
   .
$ EXIT 
 

When this command procedure is executed interactively, the SET VERIFY command causes the command and data lines to be displayed. Symbols that are substituted during the first phase of symbol substitution (such as 'COUNT') are displayed by the SET VERIFY command, but other symbols are not. The following lines are displayed when this procedure is executed interactively:

$ COUNT = 1 
$ IF P1 .NES. "" THEN GOTO &P1 
   .
   .
   .

Although these values are not displayed, the value for P1 is substituted during the third phase of symbol substitution, and the value for &P1 is substituted during the second phase.


SET VOLUME

Changes the characteristics of one or more mounted Files--11 volumes. The SET VOLUME command affects only the node on which the command is issued, and will not affect any other nodes, even when a volume is mounted on multiple nodes in an OpenVMS Cluster configuration.

If you are not the owner of the volume, requires control access to the volume.


Format

SET VOLUME device-name[:][,...]


PARAMETER

device-name[:][,...]

Specifies the name of one or more mounted Files--11 volumes.

QUALIFIERS

/ACCESSED[=n]

Requires OPER (operator) privilege.

Specifies the number of directories to be maintained in system space for ready access. You can specify a value n in the range of 0 to 255. If you specify the qualifier /ACCESSED and omit the number of directories, a default value of 3 is used. If you specify a value greater than the current value, the new value is effective immediately; otherwise, the new value is not effective until the next time the volume is mounted.

/DATA_CHECK[=(option[,...])]

Defines a default for data check operations following all read and write operations to the specified volume. (If you do not specify the /DATA_CHECK qualifier, no checks are made.) Possible keywords are as follows:
READ Performs checks following all read operations.
WRITE Performs checks following all write operations (default).

/ERASE_ON_DELETE

/NOERASE_ON_DELETE (default)

Determines whether the space occupied by a file is overwritten with a system-specified pattern when a file on the volume is deleted.

/EXTENSION[=n]

Specifies the number of blocks to be used as a default extension size for all files on the volume. You can specify a value n in the range of 0 to 65,535. If you specify the /EXTENSION qualifier without specifying a value, a default value of 0 (the OpenVMS RMS default) is used.

For example, during an update operation, the extension default is used when a file increases to a size greater than its initial default allocation.

/FILE_PROTECTION=(ownership[:access][,...])

Sets the default protection to be applied to all files on the specified disk volume. Specify the ownership parameter as system (S), owner (O), group (G), or world (W) and the access parameter as read (R), write (W), execute (E), or delete (D). A null access specification means no access.

Note

This attribute is not used while the volume is in use on an OpenVMS system, but the attribute is provided to control the process use of the volume on RSX-11M systems. The OpenVMS system always uses the default file protection; the protection can be changed with the DCL command SET PROTECTION/DEFAULT.

/HIGHWATER_MARKING

/NOHIGHWATER_MARKING

Determines whether the file highwater mark (FHM) volume attribute is set. The FHM attribute guarantees that a user cannot read data that was not written by the user. Applies to Files-11 On-Disk Structure Level 2 volumes only.

/LABEL=volume-label

Specifies a 1- to 12-character ANSI name to be encoded on the volume. The specified label remains in effect until it is changed explicitly; dismounting the volume does not affect the label. Digital strongly recommends that a volume label should consist only of alphanumeric characters, dollar signs ($), underscores (_), and hyphens (-).

If you change the volume label on an OpenVMS system disk, you should also update the POLYCENTER Software Installation utility database. To accomplish this, use the PRODUCT REGISTER VOLUME command to replace the old volume label with the new volume label.


Note

Changing the volume label does not change other structures that used the original volume label. For example, the DISK$labelname logical is not changed nor is the device-lock name that is kept internally by OpenVMS. As a result, if you attempt to access another disk that has the same volume label as the original volume of this device, you may get error messages such as the following: "%MOUNT-F-VOLALRMNT, another volume of same label already mounted".

Digital recommends that, if you change a disk volume label, you also dismount and remount the disk on all nodes in the cluster so that the names and locks are consistent.


/LOG

/NOLOG (default)

Determines whether the volume specification of each volume is displayed after the modification.

/MOUNT_VERIFICATION

/NOMOUNT_VERIFICATION

Determines whether mount verification is enabled. Mount verification prevents interruption to user input/output operations and notifies the operator of problems with the disk.

/OWNER_UIC[=uic]

Sets the owner user identification code (UIC) of the volume to the specified UIC. The default UIC is that of the current process. Brackets ([]) are required around the UIC. Specify the UIC by using standard UIC format as described in the OpenVMS Guide to System Security.

/PROTECTION=(ownership[:access][,...])

Specifies the protection to be applied to the volume.

The default protection is all types of access by all categories of user.

/REBUILD[=FORCE]

Recovers caching limits for a volume that was dismounted improperly. If a disk volume was dismounted improperly (such as during a system failure), and was then remounted with the MOUNT/NOREBUILD command, you can use SET VOLUME/REBUILD to recover the caching that was in effect at the time of the dismount. The FORCE option forces the disk to be rebuilt unconditionally, thus updating the free block count in the disk volume's lock value block.

/RETENTION=(min[,max])

Specifies the minimum and maximum retention times to be used by the file system to determine the expiration date for files on the volume. When a file is created, its expiration date is set to the current time plus the maximum time. Each time the file is accessed, the current time is added to the minimum time. If the sum is greater than the expiration date, a new expiration date is computed.

If you omit the maximum value, a default value that is the smaller of (2 x min) or (min + 7) days is used. For example, /RETENTION=3- is the same as /RETENTION=(3-,6-), while /RETENTION=10- is the same as /RETENTION=(10-,17-).

The command SET VOLUME/RETENTION=0 disables retention times on the volume.

/SUBSYSTEM

/NOSUBSYSTEM

Enables the processing of subsystem ACEs. Requires the SECURITY privilege. By default, the disk from which you boot has protected subsystems enabled but other disks do not. For further details on subsystems, see the OpenVMS Guide to System Security.

/UNLOAD (default)

/NOUNLOAD

Specifies whether the volume is unloaded (spun down) when the DCL command DISMOUNT is entered.

/USER_NAME[=user-name]

Specifies a user name of up to 12 alphanumeric characters to be recorded on the volume. The default name is the current process user name.

/WINDOWS[=n]

Specifies the number of mapping pointers to be allocated for file windows. The value of n can be from 7 to 80; the default value is 7.

Examples

#1
$ SET VOLUME/DATA_CHECK=(READ,WRITE) DBC5

The SET VOLUME command in this example requests that data checks be performed following all read and write operations to DBC5.

#2
$ SET VOLUME/FILE_PROTECTION=(S:RWED,O:RWED,G:RE,W:RE) DBC5

The SET VOLUME command in this example sets the default protection to be applied to all files created on volume DBC5. System (S) and owner (O) are granted all types of access; group (G) and world (W) are permitted only to read and execute files on DBC5.

#3
$ SET VOLUME/LABEL=LICENSES DBC5

The SET VOLUME command in this example encodes the label LICENSES on the volume DBC5. Note that if characters in labels are entered in lowercase, they are changed to uppercase by the /LABEL qualifier.

#4
$ SET VOLUME/ACCESSED=25/USER_NAME=MANAGER/LOG DBA0:

The SET VOLUME command in this example specifies that 25 directories are to be maintained in system space for ready access for the volume DBA0. The command also assigns the user name MANAGER to the volume and displays the volume specification after the volume is modified.

#5
$ SET VOLUME/REBUILD/LOG NODE$DBA2:
%SET-I-MODIFIED, _NODE$DBA2: modified

The SET VOLUME command in this example causes a rebuild operation to begin on the volume that is mounted on NODE$DBA2. The /LOG qualifier directs the SET VOLUME command to display a notification message.


SET WORKING_SET

Redefines the default working set size for the process, or sets an upper limit to which the working set size can be changed by an image that the process executes. Working set limits cannot be set to exceed those defined in the user authorization file (UAF).

Specify the value of n as a number of 512-byte pagelets on Alpha or 512-byte pages on VAX. Note that the OpenVMS system rounds up this value to the nearest CPU-specific page so that actual amount of physical memory allowed may be larger than the specified amount on Alpha.


Format

SET WORKING_SET


PARAMETERS

None.

DESCRIPTION

The SET WORKING_SET command enables the user to change the working set size within the authorized limits. A process's working set is the collection of physical pages to which an executing image can refer. Each user is assigned a default working set size to be associated with the process created during login. The maximum size to which any process can increase its working set is defined in the user authorization file (UAF).

QUALIFIERS

/ADJUST (default)

/NOADJUST

Controls whether the system can automatically adjust the size of the process working set.

/EXTENT=n

Specifies the maximum number of physical pages that can be resident in the working set during image execution.

The extent value must be greater than the minimum working set defined at system generation, and it must be less than or equal to the authorized extent defined in the UAF.

If you specify a value greater than the authorized extent, the command sets the working set limit at the maximum authorized value.

/LIMIT=n

Specifies the size to which the working set is to be reduced at image exit.

If you specify a value greater than the current quota, the quota value is also increased.

/LOG

/NOLOG (default)

Determines whether confirmation of the SET WORKING_SET command is displayed.

/QUOTA=n

Specifies the maximum number of physical pages that any image executing in the process context can request. An image can set the working set size for the process by calling the $ADJWSL (Adjust Working Set Limit) system service.

If you specify a quota value that is greater than the authorized quota, the working set quota is set to the authorized quota value.


Examples

#1
$ SHOW WORKING_SET
 Working Set      /Limit=  150  /Quota=  700            /Extent= 700
 Adjustment enabled    Authorized Quota=  700  Authorized Extent= 700
$ SET WORKING_SET/QUOTA=1000
%SET-I-NEWLIMS, new working set: Limit = 150 Quota = 700 Extent = 700
 

The SHOW WORKING_SET command in this example displays the current limit, quota, and extent, as well as the authorized quota and authorized extent. The SET WORKING_SET command attempts to set a quota limiting the maximum number of pages any image can request that is greater than the authorized quota. Note from the response that the quota was not increased.

#2
$ SHOW WORKING_SET
 Working Set      /Limit=  150  /Quota=  350            /Extent= 350
 Adjustment enabled    Authorized Quota=  350  Authorized Extent= 350
$ SET WORKING_SET/LIMIT=100
%SET-I-NEWLIMS, new working set: Limit = 100 Quota = 350 Extent = 350
$ SHOW WORKING_SET
 Working Set      /Limit=  100  /Quota=  350            /Extent= 350
 Adjustment enabled    Authorized Quota=  350  Authorized Extent= 350
 

The SET WORKING_SET command in this example sets the working set size for any image in the process to 100.


SHOW

Displays information about the current status of a process, the system, or devices in the system.

Format

SHOW option


DESCRIPTION

The SHOW command options are described individually in this manual. Table DCLII-23 lists all the SHOW command options.

Table DCLII-23 SHOW Command Options
Option Displays
ACCOUNTING Resources the current accounting file is tracking
AUDIT Security auditing characteristics in effect on the system
BROADCAST Message classes for which broadcast is enabled
CLUSTER OpenVMS Cluster activity and performance
CPU Current state of the attached processor
DEFAULT Current default device and directory
DEVICES Status of devices in the system
DEVICE/SERVED Status of devices served by the MSCP server on an OpenVMS Cluster system
DISPLAY Node where the output from a DECwindows application running on the current node will be displayed
ENTRY Information about a user's batch and print jobs or about specific job entries
ERROR Error count for the CPU, memory, and physical devices
INTRUSION Contents of the intrusion database
KEY Key definitions created by the DEFINE/KEY command
LICENSE Software product licenses active on the current node as well as list of the names attached to a license (known as the RESERVE list)
LOGICAL Current logical name assignments
MEMORY Availability and usage of memory resources
NETWORK Information about network services registered on a node
PRINTER Printer characteristics
PROCESS Attributes of the current process, including privileges, resource quotas, memory usage, priority, and accounting information
PROTECTION Current default protection applied to files
QUEUE Names and types of queues that are available on the system as well as any current jobs belonging to your process
QUEUE/CHARACTERISTICS Characteristic names and numbers that have been defined for system queues
QUEUE/FORM Form names and numbers that have been defined for system queues
QUEUE/MANAGERS Information about the queue manager(s) on the system or OpenVMS Cluster
QUOTA Current disk quota authorized for and used by a specific user on a specific disk
RMS_DEFAULT Current default multiblock and multibuffer counts used by OpenVMS Record Management Services (RMS) for file operations
SECURITY Name, class, and profile of a security object
STATUS Status of the current job, including accumulated CPU time, open file count, and count of I/O operations
SYMBOL Current symbol definitions
SYSTEM List of all processes in the system
TERMINAL Device characteristics of a terminal
[DAY]TIME Current date and time
TRANSLATION Current logical name assignment
USERS Information about users currently on the system
WORKING_SET CURRENT working set size limit and quota
ZONE Current state of a VAXft system


SHOW ACCOUNTING

Shows what resources the current accounting file is tracking.

Format

SHOW ACCOUNTING


PARAMETERS

None.

DESCRIPTION

Each node on your system has its own current accounting file. You can see what resources this file is tracking using the SHOW ACCOUNTING command.

There are two occasions when the resources used by a process are not tracked, despite the output of the SHOW ACCOUNTING command:

Similarly, there is one occasion when the resources used by an image are always tracked, despite the output of the SHOW ACCOUNTING command:

The SHOW ACCOUNTING command produces a screen display (see the Example). The keywords in the display (in upper case) fall into two categories:


QUALIFIER

/OUTPUT[=filespec]

Requires read (R) and write (W) access to the directory in which the specified file is created.

Controls the output destination of the command. By default, the output is the current SYS$OUTPUT device. To send the output to a file, use the /OUTPUT qualifier followed by the file specification.

If the file specification does not include the file name or file type, the defaults .SHOW and .LIS are used respectively.


Example

$ SHOW ACCOUNTING
 
Accounting is currently enabled to log the following activities: 
 
      PROCESS        any process termination 
      IMAGE          image execution 
      INTERACTIVE    interactive job termination 
      LOGIN_FAILURE  login failures 
      NETWORK        network job termination 
      PRINT          all print jobs 
 

The keywords in this example show that the local node is tracking the resources used by each:


SHOW AUDIT

Displays the security auditing characteristics in effect on the system.

Requires the SECURITY privilege.


Format

SHOW AUDIT


PARAMETERS

None.

DESCRIPTION

The SHOW AUDIT command displays the current state of security auditing for the system. The display can include the state of the audit journal, the characteristics of the audit server, and the events for which auditing is enabled. If no auditing has been enabled, the display reports that security alarms and audits are currently disabled.

SHOW AUDIT and SET AUDIT provide the principal management interface to the security auditing system.


QUALIFIERS

/ALL

Displays all available auditing information including the following:

/ALARM

Displays the categories of events that are currently enabled; these events will generate messages on any operator's terminal accepting security class messages.

/ARCHIVE

Displays the name and location of the security archive file (if archiving is enabled).

/AUDIT

Displays the categories of events that are currently enabled to write messages to the system security audit log file.

/EXACT

Use with the /PAGE=SAVE and /SEARCH qualifiers to specify a search string that must match the search string exactly and must be enclosed with quotation marks (" ").

If you specify the /EXACT qualifier without the /SEARCH qualifier, exact search mode is enabled when you set the search string with the Find (E1) key.

/HIGHLIGHT[=keyword]

/NOHIGHLIGHT (default)

Use with the /PAGE=SAVE and /SEARCH qualifiers to specify the type of highlighting you want when a search string is found. When a string is found, the entire line is highlighted. You can use the following keywords: BOLD, BLINK, REVERSE, and UNDERLINE. BOLD is the default highlighting.

/JOURNAL

Displays characteristics of the system audit journal.

/OUTPUT[=filespec]

Controls where the output of the command is sent. If you do not enter the /OUTPUT qualifier or if you enter it without a file specification, the output is sent to the default output stream or device for the current process, which is identified by the logical name SYS$OUTPUT.

If you enter the /OUTPUT qualifier with a partial file specification (for example, only a directory name), SET AUDIT assigns the file name SHOW with the default file type of .LIS. The file specification cannot include the asterisk (*) and the percent sign (%) wildcard characters.

/PAGE[=keyword]

/NOPAGE (default)

Controls the display of information on the screen.

You can use the following keywords with the /PAGE qualifier:
CLEAR_SCREEN Clears the screen before each page is displayed.
SCROLL Displays information one line at a time.
SAVE[= n] Enables screen navigation of information, where n is the number of pages to store.

The /PAGE=SAVE qualifier allows you to navigate through screens of information. The /PAGE=SAVE qualifier stores up to 5 screens of up to 255 columns of information. When you use the /PAGE=SAVE qualifier, you can use the following keys to navigate through the information:
Key Sequence Description
Up arrow (<uparrow symbol>), Ctrl/B Scroll up one line.
Down arrow (<downarrow symbol>) Scroll down one line.
Left arrow ( <-) Scroll left one column.
Right arrow (->) Scroll right one column.
Find (E1) Specify a string to find when the information is displayed.
Insert Here (E2) Scroll right one half screen.
Remove (E3) Scroll left one half screen.
Select (E4) Toggle 80/132 column mode.
Prev Screen (E5) Get the previous page of information.
Next Screen (E6), Return, Enter, Space Get the next page of information.
F10, Ctrl/Z Exit. (Some utilities define these differently.)
Help (F15) Display utility help text.
Do (F16) Toggle the display to oldest/newest page.
Ctrl/W Refresh the display.


Previous | Next | Contents | [Home] | [Comments] | [Ordering info] | [Help]

[HR]

  9996P051.HTM
  OSSG Documentation
  26-NOV-1996 11:18:21.43

Copyright © Digital Equipment Corporation 1996. All Rights Reserved.

Legal