With CONNX, you can create a hot connection to an OpenVMS server that enables a connection to remain open. Leaving a connection open helps shorten the length of time it takes to connect to a server, which can be beneficial to users who are opening and closing connections repeatedly or who are operating in an environment where a high volume of short connections are made, as with Web servers. The number of open connections should be kept to a minimum in order to maintain the highest levels of VMS system performance.
Important: An open server connection decreases the security of data stored on that server.
Connect to the VMS server with which you are working.
Open a terminal emulator, such as Telnet or Pathworks.
Type the following DCL command, and then press <Enter>:
                                 
                                 $ SET DEF CNXDIR
Type the following DCL command, and then press <Enter>:
                                 
                                 $ RUN CNXHOT
Type a VMS user name, using uppercase characters, and then press <Enter>.
Type a VMS password, using uppercase characters, and then press <Enter>.
Define a system-level logical that determines the number of prestarted servers for each type of database.
For RMS databases:
                        DEFINE /SYSTEM CNXRMSSERVERCOUNT
                        <number of prestarted servers>
                     
For Rdb databases:
                        DEFINE /SYSTEM CNXRDBSERVERCOUNT
                        <number of prestarted servers>
                     
For DBMS databases:
                        DEFINE /SYSTEM CNXDBMSSERVERCOUNT <number of prestarted servers>
                     
Restart the CONNX Listener process.