CRE Programmer's Guide
CRE Services
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
2-32
Standard Output
time your program writes to standard output, the CRE discards the record and 
indicates a successful write:
PARAM EXECUTION-LOG *
RUN myprog / OUT $TERM, ..... / 
•
The name of your program’s home terminal and you specify the program’s home 
terminal as the EXECUTION-LOG, the CRE uses the file you specify for the 
EXECUTION-LOG as standard output. 
If you start your program from a TACL command line or TACL macro, the OUTFILE in 
the startup message is the name you specify in the TACL OUT parameter or, if you do 
not specify an OUT parameter, then the name by which TACL knows your terminal.
If a program other than TACL starts your program, the OUTFILE in the startup 
message contains whatever file name the other program specifies when it creates the 
startup message.
Note. The CRE does not recognize a TACL ASSIGN for a logical file called STDOUT.
Figure 2-12. Establishing the File Name of Standard Output 
213VST .VSD
Start
 OUTFILE in
startup message
is home term
 ?
PARAM
EXECUTION-LOG
 present
   ?
 PARAM
EXECUTION-LOG
 is
*
     ?
 PARAM
EXECUTION-LOG
 is file name
   ?
Error
yes yes
yes yes
yes
no no
no no
no
 OUTFILE
 in startup message
 is blanks
 ?
Use OUTFILE from
startup message
No
OUTFILE
. Reads
 from standard input
 return end of file.
   Use file name
specified in
EXECUTION-LOG










