COBOL Manual for TNS/E Programs (H06.03+)
Program Execution
HP COBOL Manual for TNS/E Programs—520347-003
12-3
RUN or RUND Command
program-parameter-list
program-parameter
is a parameter of the program that is to be run.
Usage Considerations:
•
Effect of Commands on Run-Time Environment
Certain run-time commands establish an environment in which the running process
operates. For example, the ASSIGN command stores logical file assignments, the
PARAM command stores string values and associates them with parameter
names, the CLEAR command clears assignments and parameter values, and a
group of commands handle DEFINEs.
When a process begins executing, it obtains the current ASSIGN and PARAM
values from the Guardian environment, and can act on the information they
contain. See ASSIGN Command and PARAM Command. For additional
information on TACL run-time commands, see the TACL Reference Manual or the
Guardian User’s Guide.
If no run-time commands are specified, the file-control entries in the program are
used to associate the COBOL file names with file-system file names, and all
external switches but one are set to OFF. The only exception is the NONSTOP
parameter, which defaults to ON if the program was compiled with the NONSTOP
directive in the Guardian environment.
•
When Commands Take Effect
Commands take effect when encountered and can be overridden by subsequent
commands. Keywords, file names, and numbers cannot be continued from one line
to the next.
•
COMMENT Run-Time Command
A COMMENT run-time command is available to include documentation in the
TACL command stream.
Example 12-1. RUN Commands
RUN PROG1
RUN RUNUNIT /IN $TERM1/
RUN MYPROG /OUT =CHECKS-PRINTER/
program-parameter
program-parameter
VST806.vsd
,










