Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-170
CREATEPROCESSNAME Procedure
(Superseded by PROCESSNAME_CREATE_
Parameters
process-name output
INT:ref:3
is an array where a system-generated process name returns. The
process-name
parameter is of the form:
$zaaaa
where
“z” is the letter Z, Y, or X.
“a” represents an alphanumeric character except “o” and “i.”
CREATEPROCESSNAME ensures that the character position after the last “a” is a
blank.
Condition Code Settings
< (CCL) indicates that the address passed for process-name is out of bounds.
= (CCE) indicates the CREATEPROCESSNAME was successful.
> (CCG) indicates there were no unused names in the reserved name space
($X
name, $Yname, and $Zname, where name is 1 through 4
alphanumeric characters) for CREATEPROCESSNAME to use.
Considerations
Process names and CREATEPROCESSNAME
You use names created by CREATEPROCESSNAME when the process must be
named, but the name of that process does not need to be predefined, that is,
known by any other process or process pair.
HP reserved process names
The operating system reserved process name space includes the following names:
$X
name, $Yname, and $Zname, where name is 1 through 4 alphanumeric
characters. Do not use names of this form in any applications.
Creating pseudo-temporary disk file names
The CREATEPROCESSNAME procedure is also useful for creating “pseudo-
temporary” disk file names. You might use this type of naming when two
processes want to use the same file, but each opens the file exclusively.
Note. Calling CREATEPROCESSNAME does not create a process or enter the process name
into the DCT.