.SITE - find the site name.

Alternate Entry Name: _SITE

Usage:

B:
   siteid = .site();
C:
   int _site(void);

Description:

.SITE returns a single BCD word with the site ID. This is the name that is given to the site at startup by the $SYID configuration card and stored in .CRSID in the system communication region.

Examples:

%b/manif/misc
    if (WATERLOO == .site()) {
        Waterloo specific code
    }

See Also:

expl b lib _sysid
to obtain the same information as an ASCII string.

Copyright © 1996, Thinkage Ltd.