Guardian Procedure Errors and Messages Manual

STRING param [0:527] ! [90] parameter string of the RUN
! command, which is up to 528
! bytes in length including 2 null
! bytes at the end of the string.
! This is defined for D42 and
! later releases of the
! operating system.
END;
The $CMON process can reply in one of two ways:
With a run-the-process reply
With a disallow-process-creation reply
A run-the-process reply contains the process priority and the name of the processor where the
process runs. This reply has the format:
STRUCT processcreation^reply;
BEGIN
INT replycode; ! [0] 0 = create the process
INT progname [0:11]; ! [1] expanded name of program file
! to be run
INT priority; ! [13] execution priority of the
! new process.
! 0 = PRI option specified by
! user.
! If no PRI option is
! specified, then TACL
! priority minus 1.
! >0 = execution priority
! <0 = PRI option specified by
! user plus negative
! priority offset returned
! in this field.
! If no PRI option is
! specified by user, then
! TACL priority minus 1
! plus negative priority
! priority offset returned
! in this field.
! For example, PRI = 150,
! priority = -5, priority
! used = 145).
INT processor; ! [14] processor where new
! process is to run or -1.
! If -1, then the processor
! in which the TACL process
! is running is used.
END;
The values returned in the reply are those used for the process-creation attempt. Any process-creation
errors are seen by the TACL user (no notification is made to $CMON).
A disallow-process-creation reply has the format:
STRUCT processcreation^reply;
BEGIN
INT replycode; ! [0] 1 = disallow process
! creation
STRING !
replytext [0:131]; ! [1] optional message to be
! printed
END;
Message Descriptions 241