VMS Help  —  SCA  SCA Topics, DOMAIN
    DOMAIN is an attribute of an occurrence that determines the scope
    of the symbol defined. It is the range of source code in which a
    symbol has the potential of being used.

    For example, A BLISS OWN declaration creates a symbol that has
    a module-specific symbol domain; it cannot be used outside that
    module. On the other hand, a BLISS GLOBAL declaration creates a
    symbol that has a multimodule symbol domain; it has the potential
    of being used in more than one module.

    The format for DOMAIN is as follows:

    DOMAIN=(keyword[,keyword...])

    The keyword can be one of the following:

    o  INHERITABLE - able to be inherited into other modules (for
       example, through BLISS library, PASCAL environment, or Ada
       compilation system mechanisms)

    o  GLOBAL - known to multiple modules via linker global symbol
       definitions

    o  PREDEFINED - defined by the language (examples: BLISS ap,
       FORTRAN sin, PASCAL writeln)

    o  MULTI_MODULE - domain spans more than one module (domain=multi_
       module is equivalent to domain=(inheritable,global,predefined)

    o  MODULE_SPECIFIC - domain is limited to one module

    The previous keywords are SCA terms. For information on
    corresponding language-specific terms, request help for the
    appropriate language table (for example, FORTRAN_ATTRIBUTES_TABLE)
    under the Getting_Started help topic.

    An example using the DOMAIN attribute follows:

      FIND DOMAIN=GLOBAL AND SYMBOL=VARIABLE

    This query find all global variables.
Close Help