Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (R)
Guardian Procedure Calls Reference Manual522629-013
13-71
RESIZESEGMENT Procedure
Considerations
The following extended data segment types cannot be resized (an attempt to do so
results in an error 2):
An extended data segment allocated in the I/O space (IOS)
(a segment with a segment ID greater than or equal to 3072).
A read-only extended data segment (created by calling
SEGMENT_ALLOCATE_ with a
segment-type parameter of %060000 or by
calling ALLOCATESEGMENT with a
pin-and-flags parameter of
%060000).
The following types of public absolute references are adjusted by
RESIZESEGMENT if required:
The message buffer pointers in message system control blocks (except for
resident cache segments)
The lock addresses in LOCKWAIT elements
The dump, comparison, and memory access breakpoint (MAB) addresses in
breakpoint (BPT) entries
Memory access breakpoints (MABs) set in the deallocated portion of the
extended data segment are removed.
A call to RESIZESEGMENT that shrinks an extended data segment causes the
area beyond the
new-segment-size to be deallocated. Dirty pages are not
written back to a permanent swap file.