The edaserve.cfg file has an optional keyword called site_code that identifies the site code associated with the server. You can populate this entry during installation of the server or manually after installation using the License option on Configuration pane of the Web Console.
Once the site code has been installed, you can retrieve its value by issuing the ? SITECODE query command. If you issue this query command in a request, you will retrieve the site code of the server you are connected to for that request. If the site code has not been installed, you will get a message indicating that the site code is not available.
Assume the edaserve.cfg file has the following entry:
site_code = A527O9b
Issue the following query command:
The output is:
SITE CODE A527O9b
If the site code is not installed, the ? SITECODE query returns the following message:
SITE CODE NOT AVAILABLE