File Equations [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation
SPL to HP C/XL Migration Guide
File Equations
Standard attributes of a file used by an HP C/XL program may be modified
through the use of MPE XL :FILE commands, just as for SPL.
An additional feature available to HP C/XL is the redirection of the
standard (default) input and output files. This is accomplished by
supplying alternate MPE XL file names in the INFO= string of the MPE XL
:RUN command. For example:
RUN HPCPROG; INFO="<myinput >myoutput"
The "<" parameter causes all standard input operations--the MPE XL
intrinsics such as READ and READX and the HP C/XL functions such as scanf
and getc--to access the file MYINPUT instead of $STDIN. Likewise, the ">"
parameter causes any standard output to be directed to the file MYOUTPUT
instead of $STDLIST. For more information, see the HP C/XL Reference
Manual Supplement.
MPE/iX 5.0 Documentation