gtpd2m1tData Communications Services Reference

CPU Process

ART Functions

This program makes available, on application request, an ART slot for modification. During application activity, the slot information may be re-accessed if the core location is lost. On completion of the application processing of this message, the slot reference may be deleted with indication that this slot is now available for re-use.

Initialization is based on inputs, supplied by PILOT load, in the file copy of the application recovery table (ART). At this time, the number of items and the length of the variable portion of an item (AR0LEN= length of AR0DTA) are supplied. This information is used after GOGO load by the application recovery program to initialize the ART in core. Inputs are then set up to activate the timeout program. The value used for the CRETC is picked up from Keypoint Record A (CTKA, CK1ART).

During system restart, if the user has requested no keypointing, the ART is re-initialized and all slots set to available. When keypointing is valid, the ART table is searched. Any slots containing no timeout value are zeroed and that slot is made available for re-use. This is a maintenance function to free up slots that the user has lost access to due to restart and user request for no timeout. Upon completion, the updated core table is copied back to file.

Timeout is activated at user specified time intervals. This function cycles through the ART locating items in use that have a timeout value. This field is decremented by 1. If timeout occurs, the RCPL is routed back to the origin. At completion of this function, this program CRETs to itself, again using the timer value from Keypoint Record A, to ensure re-activation.

The keypoint facility is activated on a time-initiated basis. This means writing the core information contained in the ART back to file to preserve the application data. This may be on a per record basis set by the user (slot indicator AR0SY1=AR0KYPT) or for the entire core copy set by the AR package (AR0IND=AR0KEYP).