Designed to be defined in the environment (rather than in the configuration file), server_port_PASSWORD and its mate server_PASSWORD make working with AcuServer easier when the compiler and cblutil are called repeatedly from the AcuBench integrated development environment. In this scenario, when one of these variable is used, the user never has to enter a password. When these variables are not used, if a password is required the user must provide it repeatedly.
Set server_port_PASSWORD when you want to connect to a server on a particular port. For example, to set a password to connect to a server named MERCURY that is listening on port 4330, you can set the following:
where server is replaced by the name of the server, and port is replaced by the port number that AcuServer is using.
The compiler checks the variable server_port_PASSWORD first. If it isn't defined, server_PASSWORD is checked. If server_PASSWORD is not defined, the user is prompted for a password. If either variable is defined, but the value does not match the value in the AcuAccess file, the connection attempt fails.