COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
18> == FD WORK-FILE is to be
19>ASSIGN WORK-FILE, #TEMP == a temporary disk file
20> == on the default volume.
21> == FD OUTPUT-FILE is the
22>ASSIGN OUTPUT-FILE, #OUT == file named in the
23> == OUT option.
24>ASSIGN RECEIVE-FILE, $RECEIVE
25> == Run the loadfile,
26> == designating NEWINP as
27> == the IN file (thus
28>RUN PROG3 /IN NEWINP,OUT NEWOUT/ == equating it with the
29> == fd-name INPUT-FILE)
30> == and NEWOUT as the OUT
31> == file (thus equating it
32> == with the fd-name
33> == OUTPUT-FILE).
PARAM Command
The PARAM command creates a PARAM message in your current environment.
NOTE: PARAM commands for files in a DLL are ignored.
When a process compiled by the compiler begins to execute, the run-time routines automatically
request the PARAM message and use its contents to set the options defined for HP COBOL.
Application code within the program can also use the SMU procedures to copy the PARAM message
into the Working-Storage area and examine it for additional parameters that apply to the program.
Further, the program can manipulate the saved parameters and cause them to be passed to any
processes it initiates using the CREATEPROCESS or CLU_PROCESS_CREATE_ routine.
name-value-pair
is one of the name-value pairs recognized by the run-time routines, or a user-defined parameter
name and value:
586 Program Execution










