SORT-MERGE/XL General User's Guide (32650-90883)

104 Chapter6
SORT-MERGE/XL Commands
:EOD
:EOD
The :EOD command is not truly a command. It terminates the list of input records to
SORT/XL when * (for $STDIN) is the input file.
SYNTAX
>:EOD
The >:EOD (or :eod) command terminates the list of user input records when the terminal
($STDIN[ X ] is the input and output device. You input data at the system generated
question mark prompt (?), and issue the :EOD command when you are done. The records
are sorted and then displayed on the terminal screen.
EXAMPLE
The following example shows how to use your terminal to input and then receive a display
of the sorted data:
>INPUT *
>OUTPUT $STDLIST
>KEY 1, 4
>END
?user input
?user input
?user input
?:EOD
sorted data
sorted data
sorted data
ADDITIONAL DISCUSSION
None.