gtps1m1nSystem Macros

BSYNC-Recopy SYNCC Facility

This system macro provides a way to synchronize important recoup control information across processors that are in a loosely coupled TPF complex.

Format




label
is a symbolic name that can be assigned to the macro statement.

LOCK
requests exclusive use of the recoup control record or data. The core copy of the data will be refreshed.

UNLK
releases the exclusive use of the recoup control record. The control record must have been locked before the UNLK request.

SYNC
requests synchronization of recoup data in active loosely coupled processors. The control record is filed and unheld. An interprocessor communications (IPC) message is sent to the active processors to refresh their copies of the data. The control record must have been locked before the SYNC request.

Entry Requirements

Return Conditions

Programming Considerations

None.

Examples

The following example shows recoup data being locked before processing user code and synchronizing recoup data after the code has completed processing.

BSYNC     LOCK
  .....
        BEGIN PROCESSING CODE
        .
        .
        .
        END PROCESSING CODE
                    .....
BYSNC     SYNC