HP OpenVMS Systems Documentation
HP OpenVMS DCL Dictionary
Connects you to a remote host over a TCP/IP connection by invoking the TELNET application.
The SET HOST/TELNET command allows you to connect to a server on a remote system by invoking the TELNET client software that runs on your system. The parameter that specifies the remote host is either an IP host name or an IP address.
Connects you to a remote IBM host over a TCP/IP connection, causing the local keyboard to emulate an IBM 3279-class terminal keyboard by invoking the TN3270 terminal emulator.
The SET HOST/TN3270 command allows you to connect with a TELNET server on a remote IBM system by invoking the TN3270 terminal emulator TELNET client program on the local host. The parameter that specifies the remote host is either an IP host name or an IP address. The TN3270 client will automatically determine the terminal type (IBM-3278-2, IBM-3278-3, IBM-3278-4, or IBM-32798-5).
Sets and locks the key definition state for keys defined with the DEFINE/KEY command.
When you define keypad keys using the DEFINE/KEY command, you can assign a specific state name to the key definition. If that state is not set when you press the key, the definition is not processed. Use the SET KEY command to change the current state to the appropriate state.
Sets the interactive limit (number of interactive users allowed on the system), or displays the interactive limit and the current number of interactive users.
The SET LOGINS command is not retroactive. All users logged in to the system before you enter the SET LOGINS command are not affected by the command; however, once the limit you set is reached, no more users can log in to the system until someone else logs out. Users with the OPER privilege are not affected by the limit.
Defines the default characteristics associated with a specific magnetic tape device for subsequent file operations.
SET MAGTAPE device-name[:]
$ MOUNT MTB1:/FOREIGN $ SET MAGTAPE MTB1: /DENSITY=800
The MOUNT command in this example mounts a foreign tape on the device MTB1. The SET MAGTAPE command defines the density for writing the magnetic tape at 800 bpi.
$ MOUNT MTA0:/FOREIGN $ SET MAGTAPE MTA0:/SKIP=FILES:4
The MOUNT command in this example mounts a foreign tape on the device MTA0; the SET MAGTAPE command directs the magnetic tape position to skip four files.
Sets the format for system messages or specifies a process level message file. Lets you override or supplement the system messages.
SET MESSAGE [filespec]
filespecSpecifies the name of the process level message file. Messages in this file supersede messages for the same conditions in the system message file or in an existing process message file. The file type defaults to .EXE. The asterisk (*) and the percent sign (%) wildcard characters are not allowed. If you do not specify this parameter, the qualifiers apply to the system message file.
The SET MESSAGE command specifies which message fields the OpenVMS system displays. The message format is as follows:
When a process is created, the default is to display all four message fields: facility, severity, identification, and text. To control which fields of a message are displayed, specify the appropriate qualifiers. For example, to omit the FACILITY field in message displays, specify SET MESSAGE /NOFACILITY.
By including the SET MESSAGE command in your login command file, you can select specific portions of the messages for your process.
Use the SET MESSAGE command, also, to override or supplement system messages. Whenever any software detects an error and invokes the $GETMSG system service, the message files are searched in the following order: image message sections first, process-permanent message files second, and the system message file last. Thus, with the SET MESSAGE command, you can introduce messages earlier in the searching order; you can either override or supplement the system messages. (Note that the new message definitions affect only your process.)
If a process-permanent message file exists when you specify the SET MESSAGE command with a file specification, the old file is removed and the new file is added.
The message definitions you specify must result from a successful compilation with the MESSAGE command. For full details on how to create your own messages with the Message utility, refer to the OpenVMS Command Definition, Librarian, and Message Utilities Manual.
/DELETERemoves any process-permanent message files currently in effect. Do not specify the filespec parameter with the /DELETE qualifier.
/NOFACILITYFormats messages so that the facility name prefix appears.
/NOIDENTIFICATIONFormats messages so that the message identification prefix appears.
/NOSEVERITYFormats messages so that the severity level appears.
/NOTEXTFormats messages so that the message text appears.
$ TYPE XXX %TYPE-W-OPENIN, error opening DB1:[MARSHALL]XXX.LIS; as input -RMS-E-FNF, file not found . . . $ SET MESSAGE/NOIDENTIFICATION . . . $ TYPE XXX %TYPE-W, error opening DB1:[MARSHALL]XXX.LIS; as input -RMS-E, file not found
When the first TYPE command is entered in this example, the error messages include all fields. Later, the SET MESSAGE command establishes that the IDENT portion (the abbreviation for the message text) is omitted in future messages.
$ SET MESSAGE NEWMSG
The SET MESSAGE command in this example specifies that the message text in NEWMSG.EXE supplements the existing system messages.
Registers the attributes of a network service.
Requires SYSNAM (system name) privilege.
SET NETWORK network-service
network-serviceSpecifies the name of a network service.
The SET NETWORK command allows you to control information about network services on an OpenVMS system. This information is contained in structures pointed to by executive mode logical names SYS$NET_SERVICES_1 to SYS$NET_SERVICES_12. Each structure defines a particular network service and contains the following information:
- Product name
- Type of network
- Node name
- Interface(s) (OpenVMS device driver)
- Vendor-specific data
- Start command
- Stop command
- Path to the Point-to-Point Protocol utility (PPPD) shareable image
The following items are required for network registration: product name, manufacturer, type of network, node name, address. For each network service that supports the Point-to-Point Protocol (PPP), the file name of the PPPD shareable image must also be specified using the /PPPD_CALLOUT qualifier.
The SET NETWORK command allows you to perform the following actions on the information on network services:
- Add a service (use the /REGISTER qualifier)
- Delete a service (use the /REMOVE qualifier)
- Modify the information for a service (use the /UPDATE qualifier)
The /REGISTER qualifier is the default, if you do not specify an action.
/ADDRESS=address[es]Specifies the network address of the local node.
/CONNECTIONS=Specifies a command to be executed to display the number of network connections.
/COUNTERS=Specifies a command to be executed to display the number of network counters.
/DATA=Specifies a character string provided by the network service vendor.
/INTERFACE=Specifies the OpenVMS driver for the network service.
/MANUFACTURER=Specifies the manufacturer of the network service.
/NETWORK_TYPE=Specifies the protocol for the network service.
/NODE=Specifies the name of the local node.
/PPPD_CALLOUT=image-nameSpecifies the name of the protected shareable image activated by PPPD. This image contains the routine PPPD$OPEN_CONNECT, which notifies the network service that a new physical transport exists that supports PPP. If the image resides in the SYS$SHARE directory, enter the file name of the image without the suffix (such as, PPPD_CALLOUT instead of PPPD_CALLOUT.EXE); otherwise, enter the system logical that identifies the location of the image.
/REGISTERDefines a new network service.
/REMOVEDeletes a network service from the database.
/START=Specifies an image to be executed when you issue the START/NETWORK command for the network service.
/STATUS=Specifies a command to be executed to display additional status information.
/STOP=Specifies an image to be executed when you issue the STOP/NETWORK command for the network service.
/UPDATEAllows you to modify the specified data for the network service.
$ SET NETWORK DECnet - _$ /MANUFACTURER= "Hewlett-Packard Company" - _$ /NODE="GALENA" - _$ /ADDRESS="19.129" - _$ /NETWORK_TYPE="DNA V" - _$ /INTERFACE="net 0" - _$ /DATA="Router: No" - _$ /STATUS="mcr ncl show node 0 all" - _$ /CONNECTIONS="mcr ncl show node 0 session control port * all" - _$ /COUNTERS="mcr ncl show node 0 session control all counters" - _$ /START="@sys$startup:net$startup" - _$ /STOP="@sys$manager:net$shutdown"
This command adds the network service DECnet-Plus (Phase V) to the database, with the specified characteristics.
$ SET NETWORK "TCP/IP" /REGISTER - _$ /MANUFACTURER="Hewlett-Packard Company" - _$ /NODE="ipv6.ucx.mars.univers.com" - _$ /ADDRESS="220.127.116.11" - _$ /NETWORK_TYPE="TCP/IP" - _$ /STATUS="TCPIP SHOW SERVICE" - _$ /CONNECTIONS="TCPIP SHOW DEVICE" - _$ /PPPD_CALLOUT="TCPIP$PPPD_CALLOUT"
This command creates a new TCP/IP network service, adds it to the database, and enables the PPPD utility by supplying a logical name that identifies the location of the shareable image.
$ SET NETWORK DECnet - _$ /MANUFACTURER= "Hewlett-Packard Company" - _$ /NODE="EMARET" - _$ /ADDRESS="12.378" - _$ /NETWORK_TYPE="DNA IV" - _$ /INTERFACE="net 0" - _$ /STATUS="mcr ncp show exec characteristics" - _$ /CONNECTIONS="mcr ncp show known link" - _$ /COUNTERS="mcr ncp show exec count" - _$ /START="@sys$manager:startnet" - _$ /STOP="mcr ncp set executor state shut"
This command adds the network service DECnet (Phase IV) to the database, with the specified characteristics.