Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-25
CHECKALLOCATESEGMENT Procedure
(Superseded by SEGMENT_ALLOCATE_CHKPT_
CHECKALLOCATESEGMENT Procedure
(Superseded by
SEGMENT_ALLOCATE_CHKPT_ Procedure
)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Summary
The CHECKALLOCATESEGMENT procedure allocates a selectable extended data
segment for use by the backup process in a process pair. It is called from the primary
process.
Although it is possible to share flat segments meant for use by the backup process in a
process pair using the CHECKALLOCATESEGMENT procedure, flat segments can be
allocated for this purpose only with the SEGMENT_ALLOCATE_CHKPT_ procedure.
SEGMENT_ALLOCATE_CHKPT_ can also allocate selectable segments for use by
the backup process in a process pair.
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
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
CALL CHECKALLOCATESEGMENT ( segment-id ! i
,[ file-name ] ! i
,[ pin-and-flags ] ! i
,error ); ! o