SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-90
RUN
ALLOWERROR
allows the SeeView interpreter to continue execution without reporting new
process errors that occur due to the task declaration. You can use the
#TASKERRORTYPE, #TASKERROR, #TASKPROC, and #TASKSTART intrinsics
with this option to provide programmatic recovery from TASK declaration errors.
The #TASKERROR and #TASKERRORTYPE values returned are a function of the
procedure used in the attempt to start the process. The #TASKPROC intrinsic
indicates whether NEWPROCESS or PROCESS_CREATE_ was used in the
attempt to declare the task. For example:
RUN FUP ALLOWERROR;
IF #TASKPROC = "PROCESS_CREATE_" THEN BEGIN
IF #TASKERRORTYPE=1 AND #TASKERROR=11 THEN BEGIN
MSG "File not present";
END;
END;
IF #TASKPROC = "NEWPROCESS" THEN BEGIN
IF #TASKERRORTYPE=3 AND #TASKERROR=11 THEN BEGIN
MSG "File not present";
END;
END;
CPU cpu-number
indicates the processor number in which the program is created. The SeeView
program communicates with $CMON when it is present and tries to use CPU
assignments indicated by $CMON.
HIGHPIN ON | OFF
specifies whether the process to be created should be a high or low PIN process.
ON implies SeeView should attempt to create a high PIN process. OFF implies
SeeView should create a low PIN process. Not all processes are capable of
running as a high PIN. There is also a global option ALTER HIGHPINTASKS ON |
OFF that controls high/low PIN creation for all OPEN, RUN, or TASK statements
without having to specify HIGHPIN on each statement.
ON implies TASK, RUN, and OPEN statements attempt to create processes that
run as high PINs. When this option is on, processes are started using the Guardian
procedure PROCESS_CREATE_.
OFF implies TASK, RUN, OPEN statements should attempt to launch low PIN
processes. When this option is off, processes are started using the Guardian
procedure NEWPROCESS.
The intrinsic #TASKPROC returns the name of the Guardian procedure used to
create the process. This intrinsic is useful as an aid to interpreting error codes
returned by the intrinsics #TASKERRORTYPE and #TASKERROR. The values
returned depend on which procedure was used to launch the process. For
information on error codes returned by the procedures PROCESS_CREATE_ and
NEWPROCESS, see the Guardian Procedure Calls Reference Manual.