Displaying the Site Code

How to:

The FOCUS site code is installed as part of the License Management facility.

Once the site code has been installed, you can retrieve its value by issuing the ? SITECODE query command. 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

? SITECODE

Example: Querying the Site Code

Assume you installed the License Management facility with site code A52709b.

Issue the following query command in a FOCEXEC:

? 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

Information Builders