HP 3000 Manuals

Redirecting Output [ SORT-MERGE/XL Programmer's Guide ] MPE/iX 5.0 Documentation


SORT-MERGE/XL Programmer's Guide

Redirecting Output 

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.



MPE/iX 5.0 Documentation