Guardian Procedure Calls Reference Manual
CHECKRESIZESEGMENT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Summary
The CHECKRESIZESEGMENT 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, see the Guardian Programmer's Guide.
Syntax for TAL Programmers
CALL CHECKRESIZESEGMENT ( segment-id ! i
,error ); ! o
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:
Segment not allocated by the primary process or segment ID is invalid.2
The segment-id is missing.29
No control blocks available for linking.30
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.
31
Unable to link to the backup.201
Other errors are returned from RESIZESEGMENT in the backup.
Condition Code Settings
is returned if the error parameter is missing or there is a bounds error on the error parameter.< (CCL)
indicates any condition not set by CCL.= (CCE)
is not returned from this procedure.> (CCG)
CHECKRESIZESEGMENT Procedure 161