HPlogo SORT-MERGE/XL Programmer's Guide > Chapter 5 Getting SORT-MERGE/XL Information

Redirecting Output

MPE documents

Complete PDF
Table of Contents
Index

When you report statistics, title and version information, or error messages from SORT-MERGE/XL, this information is displayed to $STDLIST.

If you want this information in a file instead, you must redirect the output. To do this, build a file and tell MPE XL to put all the output meant for $STDLIST into the file. For example, to build a file named OUTFILE, use the BUILD command:

  :BUILD OUTFILE;REC=-80,,,ASCII;DEV=DISC

To redirect output from the program SORTPROG to the file OUTFILE, specify at run time:

  :RUN SORTPROG;STDLIST = OUTFILE

  :END OF PROGRAM

You may also redirect $STDLIST to a back-referenced file or to $NULL.




Chapter 5 Getting SORT-MERGE/XL Information


Getting Statistical Information