Pathmaker Reference Manual

Server Constructs
Macro Language Construct Variables
067869 Tandem Computers Incorporated C–17
Server EMIT Constructs Following is the syntax for EMIT constructs used in the context of a server.
Note Some EMIT constructs are used only for COBOL language servers. Others are only used for C language
services and servers; these are noted as "(COBOL only)" or "(C only)," respectively, in the descriptions
that accompany the syntax.
#Access-Path-Comments
Emit comment lines created by the generator when selecting the access path extension.
There must be a current SQLIO section. Each text line is enclosed in comment
characters ("/*" and "*/" for C, "*" for COBOL).
#Fatal-Error
Use to force immediate termination of the object generation. Nothing is emitted to the
generated file by this construct. The macro logic should itself emit lines into the
generated source to indicate the nature of the problem.
#File-Record-Description
COBOL record description at 01 level for current ENSCRIBE logical file (COBOL only).
#Item-Qual-Name
Qualified name of the current item of the current ENSCRIBE logical file (in the form
"
item
OF
group
... OF") qualified up to, but not including, the record or file name.
(COBOL only).
#Param-Description
Data structure of the current parameter. There must be a current parameter, which is
not a pseudofield.
For COBOL, parameter must not be SQL table. Construct emits a data structure
description at 02 level for the current parameter (terminates without a final ".", so that
01-level qualification can be appended, when the data structure includes a variable
OCCURS item—see #Param-Has-Variable-Occurs).
For C, parameter can be SQL table or DDL object. Construct emits a data declaration
consisting of an elementary data item or a typedef reference.