A SERVICE OF

logo

534 Chapter 6
Command Definitions P-R
RUN
The next example runs a program using the STDIN parameter, setting $STDIN to an
existing disk file named INPUT, this time referenced through a file equation. To set
$STDLIST to a temporary disk file named RESULTS that is automatically created by the
RUN command, enter:
FILE INFILE=INPUT,OLD
RUN TESTPROG;DEBUG;STDIN=*INFILE;STDLIST=RESULTS,NEW
The following example of the RUN command uses the INFO= parameter to pass a string to
the program:
RUN MYPROG;INFO= "A TEST WITH ""AND""&
CHARACTERS"
In quotedstring, "AND" is bounded by an extra pair of quotation marks. As a result, the
string passed to the program is:
A TEST WITH "AND" CHARACTERS
Related Information
Commands LINK, PREP, XEQ, VERSION Utility
Manuals CREATEPROCESS intrinsic in the MPE/iX Intrinsics Reference Manual