Error Lists; 1: Zgrd-Val-Allocatesegment; Unconditional Tokens - HP Guardian Errors Manual

Procedure errors and messages manual
Table of Contents

Advertisement

Recovery Make sure the PIN specified in pin-and-flags is not the PIN of the calling process.
-11
Cause Either the requested segment cannot be accessed by SEGMENT_ALLOCATE_ until the current
resizing operation is complete or the requested segment is a shared selectable segment but the
allocated segment is a flat segment.
Effect The procedure sets the error code and returns without accessing the extended data segment.
Recovery Wait until the current resizing operation is complete, then retry the operation. Make sure
that the requested segment and the allocated segment are either both flat segments or both selectable
segments when sharing.

Error Lists

If you are using the Subsystem Programmatic Interface (SPI) to send commands to a subsystem,
you might receive an ALLOCATESEGMENT error list in a response. Subsystems return such an
error list when, in performing your request, they call the ALLOCATESEGMENT procedure directly
or indirectly, and an error occurs on the call.
The contents of the error list depend on which procedure was called. The standard SPI token
ZSPI-TKN-PROC-ERR, which is present in every ALLOCATESEGMENT error list, identifies the
procedure. Its value is ZGRD-VAL-ALLOCATESEGMENT (1).
Each error list always includes the unconditional tokens listed under its description in this subsection.
In addition, each error list can include any of the conditional tokens listed under its description.
If you are designing a subsystem that uses SPI, follow these guidelines when constructing an
ALLOCATESEGMENT error list:
Include all unconditional tokens listed in the error-list description.
Optionally include any or none of the conditional tokens listed in each error-list description.
This subsection does not discuss the mechanics of error-list construction. For information about
creating error lists, additional information about tokens and token types, and definitions of tokens
whose names begin with ZSPI-, refer to the SPI Programming Manual.

1: ZGRD-VAL-ALLOCATESEGMENT

A call to ALLOCATESEGMENT returned a nonzero status as the function value.

Unconditional Tokens

ZSPI-TKN-ERRLIST
ZSPI-TKN-ERROR
ZSPI-TKN-PROC-ERR
ZSPI-TKN-ENDLIST
Conditional Tokens
ZGRD-TKN-OBJECTFILE
ZGRD-TKN-SEGMENTID
ZGRD-TKN-SEGMENTSIZE
ZGRD-TKN-FILENAME
ZGRD-TKN-PINANDFLAGS
Unconditional Tokens
ZSPI-TKN-ERROR is the standard SPI error token, whose value consists of the fields Z-SSID and
Z-ERROR. Z-SSID is the subsystem identifier ZGRD-VAL-SSID. Z-ERROR is the error code returned
in the status parameter of ALLOCATESEGMENT.
ZSPI-TKN-PROC-ERR is the procedure in which the error occurred. Its value is
ZGRD-VAL-ALLOCATESEGMENT (1).
200 ALLOCATESEGMENT Errors
REQUESTED SEGMENT IS CURRENTLY BEING RESIZED
token-type ZSPI-TYP-LIST.
token-type ZSPI-TYP-ERROR.
token-type ZSPI-TYP-ENUM.
token-type ZSPI-TYP-SSCTL.
token-type ZSPI-TYP-FNAME.
token-type ZSPI-TYP-INT.
token-type ZSPI-TYP-INT2.
token-type ZSPI-TYP-FNAME.
token-type ZSPI-TYP-BYTE-PAIR.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Guardian

Table of Contents