Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-65
CHECKRESIZESEGMENT Procedure
CHECKRESIZESEGMENT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Summary
This procedure complements the RESIZESEGMENT procedure.
Syntax for C Programmers
This passive backup procedure is not supported in C programs. For a comparison of
active backup and passive backup, refer to the
Guardian Programmer’s Guide.
Syntax for TAL Programmers
Parameters
segment-id input
INT:value
is the identifier for the extended data segment to be resized in the backup process.
The size is taken from the current size of
segment-id in the primary process and
segment-id must have been previously allocated in the primary process and the
backup process.
error output
INT .EXT:ref:1
returns a file-system error code indicating the outcome of the call, one of:
2 Segment not allocated by the primary process or segment ID is invalid.
29 The segment-id is missing.
30 No control blocks available for linking.
31 Cannot use the process file segment (PFS), or the PFS has no room for a
message buffer in either the backup process or the primary process.
201 Unable to link to the backup.
Other errors are returned from RESIZESEGMENT in the backup.
CALL CHECKRESIZESEGMENT ( segment-id, ! i
error ); ! o