TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-159
#EOF Built-In Function
#EOF Built-In Function 
Use #EOF to set a flag so that a process receives one end-of-file after it reads all the 
data in a variable level. That variable level is one that is used either as the IN variable 
of a #SERVER or as the DYNAMIC IN variable (see the #NEWPROCESS Built-In 
Function on page 9-266) of an implicit server. If the variable level is not being used for 
either of these purposes, #EOF does nothing. After a process has read the end-of-file 
sent to it, the flag is cleared and subsequent read operations wait for more data or 
another #EOF.
variable-level
is the name of a variable level used for DYNAMIC IN.
Result
#EOF returns nothing.
Consideration
Different processes handle end-of-file differently. For example, an EDIT process 
started by the command 
EDIT /INV in_var DYNAMIC/ 
stops as soon as it reads an end-of-file produced by
#EOF in_var
#EOF variable-level










