COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
12 Program Execution
This section applies to the Guardian environment. If you are executing HP COBOL programs in
the OSS environment, see Running HP COBOL Programs (page 712).
For detailed information about the TACL commands, see the TACL Reference Manual. For more
information about running COBOL programs in the Guardian environment, see Chapter 25:
Executing and Debugging HP COBOL Programs (page 820).
When a system executes a loadfile, the running program is called a process.
RUN or RUND Command
Both the RUN and RUND commands run a loadfile as a process. The RUND command calls the
selected debugger before beginning execution.
RUN
runs the program without the debugger.
RUND
runs the program with the debugger.
program-file
is the name of the loadfile to run. program-file can be represented as a file-system file
name or (in the Guardian environment) a DEFINE name.
run-option-list
run-option
is an option of the RUN command, described in the TACL Reference Manual. For COBOL
programs, two of the run options, IN and OUT, have special significance:
accept-device
has a value that designates a terminal or a process and can be a file-system file name
or (in the Guardian environment) a DEFINE name. accept-device specifies the
device from which an unqualified ACCEPT statement retrieves input. If you omit this
option, unqualified ACCEPT statements retrieve input from the home terminal (unless
PARAM EXECUTION-LOG specifies a different device).
RUN or RUND Command 581










