Editing the OpenVMS Site-Specific Startup Command

From Item 1 in the OpenVMS Server Post-Installation checklist complete the following procedure to edit the OpenVMS Site-Specific Startup Command Procedure.

To edit the OpenVMS Site-Specific Startup Command Procedure

  1. On your CONNX administrator computer, start your terminal emulator, select the desired OpenVMS server, and type the appropriate user name and password. Proceed to a DCL prompt.

  2. To edit the Site-Specific Startup Command Procedure, type the following:

edit/edt SYS$MANAGER:SYSTARTUP_VMS.COM

and then press <Enter>. (VMS Version 5.3 to 5.5 users, type SYSTARTUP_V5.COM and then press <Enter>.) The first line of SYSTARTUP and the * prompt are displayed.

  1. After the * prompt, type 1:END which takes you to the end of the file.

  2. Observe the number of the line with the EXIT command, which is at the en or near the end of the file. For example:

273 $ EXIT

  1. Add the new lines to the file just before the $ EXIT line. For example, if 273 is the EXIT command line, you would type the following:

* I 273 <Enter> [inserts a new line before line 273 when 273 exists]

DEFINE /SYSTEM CNXRMSD0 SYS$COMMON:[CONNX]CNXRMSD0.COM

<Ctrl> <Z>
* I 273 <Enter> [for this and all subsequent new lines, you repeat 273]
DEFINE /SYSTEM CNXRDBD0 SYS$COMMON:[CONNX]CNXRDBD0.COM
<Ctrl> <Z>
* I 273 <Enter>
DEFINE /SYSTEM CNXDBMD0 SYS$COMMON:[CONNX]CNXDBMD0.COM
<Ctrl> <Z>
* I 273 <Enter>
DEFINE /SYSTEM CNXSVR SYS$COMMON:[CONNX]CNXSVR.COM
<Ctrl> <Z>
* I 273 <Enter>
DEFINE /SYSTEM CNXDIR SYS$COMMON:[CONNX]
* I 273 <Enter>
@CNXSVR START
<Ctrl> <Z>
* EXIT [to save edit] –or– * QUIT [to not save edit]
$

  1. Check your work. With the $ prompt displayed, press the <up arrow> key to re-type the following command:

edit/edt SYS$MANAGER:SYSTARTUP_VMS.COM

command and then press <Enter>.

  1. After the * prompt, type 1:END, which takes you to the end of the file.

  2. Observe that the lines you typed are correct. To delete a line, for example, line 275, you would type the following:

d 275 <Enter>

  1. To change the port number, which by default is set to 6500, include the following before the EXIT command line:

Define/System CNXRUNPORT nnnn

where nnnn is the new port number. If you change the port number on the server, you must also change it on each client machine. See TCP/IP Connection Port in CONNX Registry File Settings for more information on changing the port number on client machines.

  1. Delete and retype lines as necessary. When finished, type EXIT to save the changes.

  2. Disconnect from the session and close your terminal emulator.