Displaying the Site Code of the Connected Server

How to:

The edaserve.cfg file has an optional keyword called site_code that identifies the site code associated with the server.

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.

Syntax: How to Retrieve the Site Code of the Connected Server

? SITECODE

Example: Querying the Site Code of the Connected Server

Assume the edaserve.cfg file has the following entry:

site_code = A527O9b

Issue the following query command:

? SITECODE

The output is:

SITE CODE A527O9b

If the site code is not installed, the ? SITECODE query returns the following message:

SITE CODE NOT AVAILABLE