COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-101
CREATEPROCESS
CREATEPROCESS
The CREATEPROCESS routine starts a new process according to parameters you
specify. It can also send process-creation messages that might have been altered by
SMU routines to the new process according to the option parameter specifications.
The CREATEPROCESS routine is available only in the Guardian environment. In the
OSS environment, use the OSS process create function fork() or tdm_fork(2)
(see the Open System Services Programmer’s Guide).
The CREATEPROCESS routine cannot create a high-PIN process. To do this, use the
CLU_PROCESS_CREATE_ routine (see CLULIB Overview).
The general form of the ENTER statement to use CREATEPROCESS is:
library-reference
is a mnemonic-name associated in the SPECIAL-NAMES paragraph with either
$SYSTEM.SYSTEM.COBOLLIB or some other object file containing an object
copy of CREATEPROCESS.
Note. CREATEPROCESS uses a protocol different from that used for normal TAL procedures.
The ENTER verb must not be followed by the keyword TAL.
USING
library-reference
program-file
OF
resultGIVING
process-name
option
priority
processor
memory
process-id
ENTER
" "
ns
CREATEPROCESS
ns
VST359.vsd