Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual—522629-013
7-30
HIST_INIT_ Procedure
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the operation:
0HIST_OK
The procedure terminated normally.
1 HIST_DONE
The procedure has reached the base of the stack trace.
-3 HIST_BAD_VERSION
An invalid value was specified for the
version parameter.
-4 HIST_BAD_OPTION
An invalid value was specified for the
options parameter. An undefined bit
was set.
-5 HIST_BAD_CONTEXT
A null value was specified for the
context parameter. The context
parameter must contain an address.
-6 HIST_NOT_IMPLEMENTED
A specified
options bit is defined but not implemented.
-7 HIST_INIT_ERROR
An error occurred during an attempt to initialize the stack trace.
-8 HIST_ERROR
The stack tracing mechanism failed while attempting to trace back to the
calling procedure.
-11 HIST_MISSING_HOOK
This error is not returned in the D40 RVU.
?SOURCE $SYSTEM.SYSTEM.HHISTRY
error := HIST_INIT_ ( workspace !i,o
,version !i
,options !i
,context ); !i