FORTRAN Reference Manual

Utility Routines
FORTRAN Reference Manual528615-001
15-35
DELETEASSIGN Routine
instead of 0, 9 instead of 1, ... 11 instead of 3). CREATEPROCESS returns the
class one error result although the new process is created. The value 8 indicates
that undefined externals are not considered an error.
Opening an unnamed process
If you omit the processname parameter or if it is all blanks, the system creates a
process identification in timestamp format, and CREATEPROCESS returns this in
its processid parameter if present. However, this is an integer array, not a
character string, and therefore cannot be used in the FILE specifier of a FORTRAN
OPEN statement. It can be used as the file name argument to a Guardian
procedure that opens files, but if you want to use FORTRAN I/O statements to
send messages to the new process via its $RECEIVE file, you must supply a
processname parameter when you call CREATEPROCESS and then use the
same character value in a FILE specifier in the OPEN statement for the new
process.
Example
?GUARDIAN CREATEPROCESS
INTEGER created
INTEGER*2 newid(4)
CHARACTER*6 newprocess
newprocess = '$newpr'
created = CREATEPROCESS (games, newprocess, 1, 0,
& -5, 0, newid)
DELETEASSIGN Routine
The DELETEASSIGN routine deletes a part or all of an ASSIGN message.
result
is an integer variable in which DELETEASSIGN returns the result of the operation.
See Considerations.
portion
is a character expression that identifies the particular part of the message to
delete. The string value must be a legal parameter value defined for the ASSIGN
message. The first unused character position of portion, if any, must be a blank.
Any characters including and following a blank are ignored.
result = DELETEASSIGN
*ALL*
portion



, cplist, messagenumber


