Pathmaker Reference Manual
Server Constructs
Macro Language Construct Variables
067869 Tandem Computers Incorporated C–3
Server Constructs The server constructs that follow are used by the server skeleton file. You can use
these constructs in macros you define. Variable constructs are described first, followed
by ITERATE constructs and then EMIT constructs.
If the text output by a construct depends on the language in effect, that is noted.
Server Variable Constructs Following is the syntax for variable constructs used in the context of a server.
#Access-Method
Access method of the current logical file (which must not be a short hand view).
Values: UNSTRUCT, RELATIVE, ENTRY-SEQ, KEY-SEQ
#Any-Service-Uses-SQL
SQL is supported in some service in the server.
Values: Y, N
#Any-Service-Uses-TMF
The Transaction Monitoring Facility (TMF) product is supported in some service in the
server.
Values: Y, N
#Column-DDL-Name
The DDL name of the current column (replacing "_" with "-", uppercase). There must
be a current column.
Values: String, up to 19 characters
#Column-Is-DATETIME
The SQL datatype of the current column is DATETIME. (When the value of this
construct is "Y", the specific DATETIME format can be obtained from the construct
#Column-Start-End-Date-Time.) There must be a current column.
Values: Y, N
#Column-Is-In-Access-Path
The column is in the access path for the current SQLIO operation. There must be a
current column and current SQLIO operation.
Values: Y, N
#Column-Is-In-Primary-Key
The column is in the primary key for the current service table. There must be a current
column, and current service logical file, which is an SQL table.
Values: Y, N