H processing option
If the H processing option has been specified in the PCB for your call program, a GC status code is returned whenever a call to retrieve or insert a segment causes a unit of work (UOW) or an area boundary to be crossed. The program must cause a commit process before any other calls can be issued to that PCB.
If a commit process is not caused, an FR status code results (total buffer allocation
exceeded), and all database changes for this synchronization interval are washed
(sync-point
failure).
A GC status code is returned when crossing the area boundary so that the application
program can issue a SYNC or CHKP call to force cleanup of
resources (such as buffers) that were obtained in processing the previous area. This cleanup might
cause successive returns of a GC status code for a GN or GHN call,
even if a SYNC or CHKP call is issued appropriately for the
previous GC status code.
GN root1
GN root2
GN root3
GN root4 /*FW status code received*/
CHKP
GN SSA=(root4) root4 /*User reposition prior to CHKP*/
GN root5