Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual—522629-013
13-70
RESIZESEGMENT Procedure
12 Indicates one of the following conditions.
•
Because the extended data segment is a shared segment, the segment
cannot be reduced (see “Considerations”).
•
Because an I/O to the segment is in progress, the segment cannot be
reduced.
•
The segment is being resized.
•
There is a lockmemory request on the segment.
21 An invalid
new-segment-size was specified (see new-segment-size,
below).
24
seg-id specified a privileged segment ID (greater than 2047) and the caller
was not privileged.
29 A required parameter was not supplied.
43 Disk space could not be allocated to accommodate the
new-segment-size
specified.
45 Either the existing permanent swap file or temporary swap file for the extended
data segment is not large enough for the requested
new-segment-size or
the Kernel-Managed Swap Facility (KMSF) has insufficient resources in the
processor. This error was caused by a wrong calculation of the primary and
secondary extent sizes. For more information on KMSF, refer to the
Kernel-
Managed Swap Facility (KMSF) Manual.
segment-id input
INT:value
is the segment ID of the extended data segment to be resized (for example, as
specified in a call to SEGMENT_ALLOCATE_ ).
new-segment-size input
INT(32):value
is the new size for the extended data segment, in bytes.
For a flat segment, the value must be in the range 1 byte through the maximum
size defined by the
max-size parameter of the SEGMENT_ALLOCATE_
procedure.
For a selectable segment, the value must be in the range 1 byte through the
maximum size defined by the
max-size parameter of the
SEGMENT_ALLOCATE_ procedure. For a selectable segment allocated by the
ALLOCATESEGMENT procedure, the maximum
new-segment-size is 127.5
megabytes (133,693,440 bytes).