FORTRAN Reference Manual

Running and Debugging Programs
FORTRAN Reference Manual528615-001
11- 7
The EXECUTION-LOG PARAM and Standard
Output
The EXECUTION-LOG PARAM and Standard Output
FORTRAN determines the file name for standard output as follows. If the OUTFILE
name in your program’s startup message is:
Not the name of your program’s home terminal, FORTRAN uses the OUTFILE
name from the startup message for standard output.
Blanks, FORTRAN does not open a system file but accepts open requests,
discards records that you write to standard output, and indicates a successful write
each time your program writes to standard output.
The name of your program’s home terminal and You do not specify the
EXECUTION-LOG PARAM, FORTRAN opens your home terminal if your program
opens standard output.
°
You specify a file name as the EXECUTION-LOG, FORTRAN uses the file you
specify for the EXECUTION-LOG as standard output.
For example, if your home terminal is named $TERM and you specify AFILE
for EXECUTION-LOG, FORTRAN opens AFILE if a routine in your program
opens standard output:
PARAM EXECUTION-LOG AFILE
RUN myprog / OUT $TERM, ..... /
°
You specify an asterisk for the EXECUTION-LOG, FORTRAN does not open a
file for standard output. Instead, each time your program writes to standard
output, FORTRAN discards the record and indicates a successful write:
PARAM EXECUTION-LOG *
RUN myprog / OUT $TERM, ..... /
The EXECUTION-LOG PARAM and Standard Log
The EXECUTION-LOG PARAM specifies a file name to which FORTRAN might write
diagnostic messages. The syntax of the EXECUTION-LOG PARAM is:
PARAM EXECUTION-LOG
By default, FORTRAN writes log messages to your process’s home terminal. You can
direct log messages to another file, however, by specifying a file name in a TACL
ASSIGN command or in a PARAM EXECUTION-LOG command.
If an ASSIGN specifies the logical name STDERR, FORTRAN uses the physical
name from the ASSIGN as the name of standard log.
If a PARAM specifies EXECUTION-LOG, FORTRAN uses the value of the
EXECUTION-LOG PARAM as the name of standard log. If the EXECUTION-LOG
filename
*


