Pathmaker Reference Manual

SERVER Statement
Pathmaker Application Definition Language (PMADL)
2–46 067869 Tandem Computers Incorporated
DIRECTIVES
text
Specifies one or two strings—up to 50 characters each—of directive text for the
Pathmaker product to supply to the compiler when the server is compiled.
This clause is not significant for TYPE REG servers, or for servers that are not
compiled.
SERVICE
name
Specifies the name of the service to be included in the server. The service’s TYPE
and LANGUAGE attributes must be compatible with the server’s TYPE and
LANGUAGE attributes. You can include multiple services, and include a service
in multiple servers.
SERVER-CLASS
name
Specifies the name of a Pathway server class to execute the server program. The
name must be unique among the names of all server classes defined in the catalog,
and cannot exceed 15 bytes in length. A server can define multiple server classes,
in any order.
Example Following is an example of a statement used to define a COBOL server:
?Section COBOL-SERVER-FOR-CUSTOMER
SERVER SERVER-NAME-EXISTS
( Description "This is a COBOL SERVER for testing PMADL"
, Type CUSTOM
, Language COBOL
, Skeleton =_COBOL_SERVER_SKELETON
, Source $VOL.SUBVOL.SR002SRC
, Object $VOL.SUBVOL.SR002OBJ
, Listing $S.#SR002
, Sql-Catalog $VOL.SQLSUBV
, Compile YES
, Directives "LIST; INSPECT"
) ;