Previous Topic: Scratch RecordsNext Topic: CA ADS Batch Considerations


CA ADS Usage

Scratch records are common to all tasks running on the same logical terminal. The records stored by one task are available to subsequent tasks running on the same terminal.

A request to store a scratch record places a record of the requested length in the data dictionary. A database key pointer to the scratch record is placed in a scratch area associated with the requesting task. Scratch records remain in the data dictionary until explicitly deleted, until a signoff from DC/UCF occurs, or until the system is shut down or crashes.

Currencies are maintained for each scratch area associated with a task. Scratch area currencies are passed from one task to the next. A request for a particular scratch record can identify the record by the scratch area id, by the scratch record id, by the position of the record within the scratch area, or by the relationship of the object record to the record that is current of the scratch area.

Considerations

More information:

CA ADS Runtime System