COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-108
RUNNAMED
RUNNAMED
RUNNAMED specifies that the run unit is to be run as a named process.
If your program is not compiled with the RUNNAMED directive and you run the
program with the command
RUN ru
the process has no process name. If your program is compiled with the RUNNAMED
directive or you run the program with the command
RUN ru/NAME/
the operating environment gives it a timestamp name. The RUNNAMED directive
causes the operating environment to give the process a timestamp name without your
having to include “/NAME/” in the RUN command.
Naming the process allows any requester that uses this run unit as a server to use the
old method of process handling. The old method of process handling does not work for
processes that run with a high PIN.
You can specify RUNNAMED for any run unit, regardless of its environment. It need
not run in the CRE.
Default: None
Placement: Any of:
Anywhere in a source program
In a stand-alone Binder session
In a linker session (specify -change)
Scope: Applies to the program in which or before which it appears, to all
subsequent programs in the compilation unit, and to all target files
Dependencies: For the NMCOBOL compiler, RUNNAMED is appropriate only if the
program was compiled with RUNNABLE (because a linkfile is not a run
unit).
References: RUNNABLE
RUNNAMED
VST300.vsd