Queue and Scratch Management Commands

CA ADS queue and scratch management commands are used to control the allocation and access of queue and scratch records. Queue and scratch records are work records stored in the data dictionary that allow data to be passed from one CA IDMS/DC or DC/UCF (DC/UCF) task to another.
idmscu
CA ADS queue and scratch management commands are used to control the allocation and access of queue and scratch records. Queue and scratch records are work records stored in the data dictionary that allow data to be passed from one CA IDMS/DC or DC/UCF (DC/UCF) task to another.
During the execution of an CA ADS application, each pseudo-converse is a new task.
Queue Records
Queue records are stored in the data dictionary queue area (DDLDCRUN). Use of queue records allows data to be passed from one DC/UCF task or batch application to another.
Scratch Records
Scratch records are temporarily maintained in the data dictionary scratch area (DDLDCSCR). Under CA ADS Batch, scratch records can be stored in and retrieved from a scratch file allocated by the site. Use of scratch records allows data to be passed between tasks or dialogs.
Queue and Scratch Management Commands
Queue and scratch management commands are summarized in the following table. Each command is discussed later in this section.
Type
Command
Description
Queue management
DELETE QUEUE
Deletes one or all queue records in a specified queue.
 
GET QUEUE
Transfers the contents of a queue record to a specified location in a dialog's record buffers and, optionally, deletes the record from the queue.
 
PUT QUEUE
Stores a queue record in the data dictionary and assigns a queue id.
Scratch management
DELETE SCRATCH
Deletes one or all scratch records associated with a specified scratch area.
In CA ADS Batch, one or all scratch records associated with a specified scratch file are deleted.
 
GET SCRATCH
Transfers the contents of a scratch record to a specified location in a dialog's record buffers and, optionally, deletes the record.
In CA ADS Batch, the contents of a scratch record are transferred to a specified location and a scratch file is assigned to the record.
 
PUT SCRATCH
Stores or replaces a scratch record in the data dictionary and assigns a scratch area id.
In CA ADS Batch, a scratch record is stored or replaced in the scratch file and assigned a scratch area id.