|  |  | Record input is useful for sorting information that is entered
interactively or produced internally by a program. To input records
to SORT/XL you use the HPSORTINPUT intrinsic.
    
MERGE/XL does not allow record input. The syntax of HPSORTINPUT is:
 
  HPSORTINPUT (status, buffer, length);
The buffer parameter contains the record to be input. The length parameter contains the length of the record.
|  | NOTE: The buffer parameter is a character (byte) array.
If your record contains other data types, you must build buffer
byte by byte.
 
 | 
 An example of using HPSORTINPUT follows:
|  | NOTE: This value must not be greater than the value of the
reclength parameter in the HPSORTINIT intrinsic.
 
 | 
 
  var
    status : INTEGER;
    buffer : packed array [1..80] of CHAR;
    length : INTEGER;
       .
       .
       .
  HPSORTINPUT (status, buffer, length);
To use record input:
 
 |