COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-102
CREATEPROCESS
program-file
is an alphanumeric data item containing the file-system file name of the loadfile to
be executed. Any trailing spaces are ignored. Example:
05 PROGRAM-FILE PIC X(35)
- VALUE "\CENTRAL.$CRPMIS.DEVELOP.AMR1459".
The access mode (see Linkage Section) of program-file must be STANDARD.
process-name
is an alphanumeric data item containing the name for the new process. Normally,
the first six characters are significant and must be in the format defined by
NEWPROCESS: the first character must be a dollar sign ($), and the second
character must not be a space. The minimum number of characters allowed is two.
The value can be all spaces to indicate that no name is supplied.
The process-name parameter can be omitted by supplying the keyword OMITTED
instead of an alphanumeric data item. OMITTED indicates that no name is
supplied. Example:
03 PROCESS-NAME PIC X(6) VALUE "$A1459".
The access mode (see Linkage Section) of process-name must be STANDARD.
option
is a DISPLAY or COMPUTATIONAL numeric data item, a numeric literal, or an
expression enclosed in parentheses. option indicates which saved process
creation messages are required by the new process. The value must evaluate to 0,
1, 2, 3 or 8, 9, 10, 11.
The option parameter can be omitted by supplying the keyword OMITTED.
OMITTED implies a 0 option value. Example:
07 OPTION PIC 9999 COMPUTATIONAL.
The option values are interpreted like this:
Value Meaning
0 Send copies of all saved ASSIGN, PARAM, and startup messages from the
creator process. If no saved startup message exists, send a standard
message where the volume and subvolume, IN-file, and OUT-file are those
of the creator process, and the message parameter string is a null string.
1 Send a copy of the saved startup message from the creator process. If no
saved startup message exists, send a standard message as described
above.
2 Send a standard startup message.
3 Send no messages. The creator process does not open the new process.