SORT-MERGE/XL General User's Guide (32650-90883)
Chapter 6 77
SORT-MERGE/XL Commands
END
END
The >END command specifies the conclusion of SORT-MERGE/XL parameters. It also starts
the sort or merge operation specified.
SYNTAX
>E[ND]
DISCUSSION
The >END command indicates all commands have been specified and the SORT/XL or
MERGE/XL program should begin operation.
If the terminal ($STDIN) is specified in the >INPUT command of the SORT/XL program, you
enter and receive sort data from the terminal. A work file is not created. The character ? is
displayed following the >END command, and the input records are typed in from the
terminal.
After the >END command is issued, in an interactive session or batch job, the sort or merge
operation is started. This is followed by a statistical report on the operation that is
displayed on your terminal screen. This report is followed by the message END OF PROGRAM
and the MPE XL colon prompt (:).
EXAMPLES
The following example shows how to use the >END command in an interactive session:
:SORT
HP32214A.01.00 SORT/3000 THU, JUN 4, 1987, 9:30 AM
© HEWLETT-PACKARD CO. 1986
>INPUT EMPLOYEE
>OUTPUT COMPANY
>KEY 1,10
>END
STATISTICS
NUMBER OF RECORDS = 6
NUMBER OF INTERMEDIATE PASSES = 0
SPACE AVAILABLE (IN WORDS) = 27,047
NUMBER OF COMPARES = 13
NUMBER OF SCRATCHFILES IO'S = 6
CPU TIME (MINUTES) = .00
ELAPSED TIME (MINUTES) = .49
RECORD SIZE (IN BYTES) = 80
SCRATCH FILE SIZE (# SECTORS) = 3,502
END OF PROGRAM
: