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

84 Chapter6
SORT-MERGE/XL Commands
INPUT (SORT/XL)
command. This command can be entered any time before the >END command. In the
absence of the >INPUT command, any disc file with the formal designator >INPUT is
considered the input file. Also, file equations may be issued before entering or during
either subsystem. Thus, if the >INPUT command refers to the same file as specified in a file
equation, the file's characteristics are determined by the file equation. The user issues the
>RESET command before entering SORT/XL or MERGE/XL if the default values for the
parameters of the file are desired. The same holds for the >OUTPUT command for SORT/XL
and the >INPUT and >OUTPUT command for MERGE/XL.
EXAMPLE
In the following example, the file EMPLOYEE is to be sorted with a maximum of 30
characters from each record:
:SORT
HP32214A.01.00 SORT/3000 THU, JUN 4, 1987, 9:50 AM
© HEWLETT-PACKARD CO. 1986
>INPUT EMPLOYEE, 30
ADDITIONAL DISCUSSION
See the >INPUT command for MERGE/XL in this chapter.