READQ TS command
Retrieves data from a temporary storage (TS) queue in main or auxiliary storage. In Smalltalk, the parameters of the READQ TS command are contained in two classes: CICSReadqts and CICSReadqtsResult.
See CICS Application Programming Reference for the syntax of the command and a description of its parameters.
Defined instance methods
Parameters supplied to CICS in CICSReadqts
 
Parameter
Instance method
Mode
Type
Notes/exceptions
ITEM(data-area)
item:
Input
Binary 16
 
NEXT
next
Input
Switch
 
QUEUE(name)
queue:
Input
Fixed(8)
 
SYSID(systemname)
sysid:
Input
Fixed(4)
Remote systems only
Parameters returned by CICS in CICSReadqtsResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
LENGTH(data-area)
length
Output
Binary 16
 
NUMITEMS(data-area)
numitems
Output
Binary 16
 
RESP
resp
Output
Fixed(2)
Inherited from CICSResult.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult.
SET(ptr-ref)
set
Output
Variable
 
Examples
Example 1
Reads a specified item from a temporary storage queue.
| result x |
result := CICS readqts
queue: 'TSQUEUE';
item: 10;
exec.
x := result set.
Example 2
Reads the next item in a temporary storage queue and assigns the NUMITEMS result.
| result x |
result := CICS readqts
queue: 'TSQUEUE';
next;
exec.
x := result numitems.
Last modified date: 07/09/2019