COBOL Manual for TNS and TNS/R Programs
Program Execution
HP COBOL Manual for TNS and TNS/R Programs—522555-006
12-3
RUN or RUND Command
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).
display-device
can be a file-system file name or (in the Guardian environment) a DEFINE
name. Its value designates a terminal, line printer, process, existing entry-
sequenced disk file, or operator console to which unqualified DISPLAY
statements are to deliver output. If you omit display-device, unqualified
DISPLAY statements deliver output to the home terminal (unless PARAM
EXECUTION-LOG specifies a different device).
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.
Example 12-1. RUN Commands
RUN PROG1
RUN RUNUNIT /IN $TERM1/
RUN MYPROG /OUT =CHECKS-PRINTER/
program-parameter
program-parameter
VST806.vsd
,