COBOL Manual for TNS and TNS/R Programs

Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS and TNS/R Programs522555-006
22-15
Running the Compiler
To specify a file for information about any compilation errors or warnings, use the
ERRORFILE directive:
29> COBOL85 /IN XYZ, OUT $SPX.#XYZLST/; ERRORFILE EFILE
29> NMCOBOL /IN XYZ, OUT $SPX.#XYZLST/; RUNNABLE; ERRORFILE EFILE
The error logging file is not an EDIT file. You can use it only with the FIXERRS TACL
macro. For more information about the FIXERRS macro, see FIXERRS Macro. For
more information about the ERRORFILE directive, see ERRORFILE.
IN and OUT are options of the TACL command RUN. Other RUN command options
that you might find useful when compiling HP COBOL programs are:
NOWAIT
If you specify
COBOL85 /IN XYZ, OUT $SPX.#LPPR, NOWAIT/
or
NMCOBOL /IN XYZ, OUT $SPX.#LPPR, NOWAIT/; RUNNABLE
the TACL program does not wait while the compiler runs, but returns a TACL
prompt after starting the compiler. (The compiler runs in the background.)
CPU
If you specify
COBOL85 /IN XYZ, OUT $SPX.#LPPR, CPU 7/
or
NMCOBOL /IN XYZ, OUT $SPX.#LPPR, CPU 7/; RUNNABLE
the compiler runs in processor seven (processors are numbered from 0 through
15).
For more information about these and additional RUN commands, see the TACL
Reference Manual.