EMS Manual

Compiled Filters
EMS Manual426909-005
5-33
Statements
Destination Statement
The destination statement has been added to the filter source to describe a
distributor's routing configuration. Filters with destination statements can only be used
in printing distributors. Multiple statements per filter are allowed.
DESTINATION
RID n , ! Routing ID : required
TYPE type , ! Dest type : required
NAME fname , ! Dest name : required
FORMAT ON | OFF , ! Event formatting : optional
RECLEN n , ! Desired rec len : optional
INDENT n , ! Indentation : optional
OBJECT fname , ! Program object : optional
IN fname , ! IN file : optional
OUT fname , ! OUT file : optional
STARTUP "text" , ! Startup text : optional
PRI n , ! Priority : optional
CPU n ! Cpu : optional
TIMEOUT sec ! Timeout : optional
RID
is the routing ID. It can be an integer in the range from 1 to 255. It need not be
unique within one filter. That is, more than one destination can have the same
routing ID. The RID is used in the PASS statement to indicate to which
destination the event is to be routed.
NAME
is the name of the routing destination (a local or remote name). The EMF (EMS
filter) language requires file names to begin either with a dollar sign ($) or a
backslash (\) character. If a node name is not given, the distributor's node is
used later. To let the distributor's home terminal be specified as a destination,
the name $HOME has been reserved. To avoid hard-coded file names, a
DEFINE name can be given that is later resolved by the distributor.
TYPE
is PROCESS | DISK | PRINTER | PRIMCOL | ALTCOL | CONSOLE
It is supplied for informational purposes only. It makes the filter easier to
maintain. No checking is done by either the compiler or the distributor to verify
this parameter.
FORMAT
indicates if events for this destination should be formatted by EMSTEXT or
submitted in binary form. The default is set to ON (formatted).
RECLEN
for formatted events, indicates how many columns are to be formatted per line.
The largest length accepted is 4096. If not specified, the device's record length
is substituted.
INDENT
specifies by how many columns lines are to be indented, excepting the first line
of the event. This number must be smaller than RECLEN. Default is 36.