HP 3000 Manuals

Running the XSORT Program [ HP RPG/XL Utilities-Part 1 XSORT ] MPE/iX 5.0 Documentation


HP RPG/XL Utilities-Part 1 XSORT

Running the XSORT Program 

The following figure illustrates how XSORT sorts your files.

	       Click here to view figure.
          Figure 1-3.  How XSORT Sorts Files 

   1.  MPE statements are your job or session control commands to MPE XL.

   2.  Sort specifications include type of sort, sequence, record
       information, and instructions formatting output.

   3.  File or files can be KSAM or sequential MPE (including non-disk
       files such as magnetic tape).

   4.  XSORT passes work records to be sorted to SORT which, in turn,
       sorts them in a work file.  Whatever work is required can then be
       performed without any disturbance to the input files.

   5.  Output files can contain:

        *  The relative record numbers of the records in the input file.

        *  Part or all of the records in the input files.

        *  A count of the number of records selected for processing from
           the input files.



MPE/iX 5.0 Documentation