END
- Last UpdatedJan 24, 2023
- 1 minute read
Description
Terminates the sending of a long command string to a data server.
All command lines following a START entry will be concatenated to form a composite command of any required length until terminated by a corresponding END entry.
The maximum length for a single query line is 120 characters.
The maximum total length for the overall query string (i.e. all lines between the START and END commands) is 4095 characters.
Example
EXTERNAL SEND $!!MAINT START
’select refno, servint, lastserv from maintdata’
’where elementtype = ’’EQUIPMENT’’’
END
Note:
The use of multiple delimiting ’’ characters for nesting text within text in this
example. Alternatively, write the example using ‘vertical bar’ text delimiters.
EXTERNAL SEND $!!MAINT START
|select refno, servint, lastserv from maintdata|
|where elementtype = ’EQUIPMENT’|
END
Syntax
.-----<-----.
/ |
>-- EXTERnal SENd server_token START --*-- text nl --+-- END -->
Here, 'server_token' is an integer identifying the required data server channel.