WRITEQ TD command
Writes data to a transient data (TD) queue. In Smalltalk, the parameters of the WRITEQ TD command are contained in two classes: CICSWriteqtd and CICSWriteqtdResult.
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 CICSWriteqtd
 
Parameter
Instance method
Mode
Type
Notes/exceptions
FROM(data-area)
from:
Input
Variable
 
LENGTH(data-value)
length:
Input
Binary 16
This is a required parameter.
QUEUE(name)
queue:
Input
Fixed(4)
 
SYSID(systemname)
sysid:
Input
Fixed(4)
Remote systems only
Parameters returned by CICS in CICSWriteqtdResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
RESP
resp
Output
Fixed(2)
Inherited from CICSResult.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult.
Example
Builds a TD queue using the WRITEQ TD command. MyKsdsFile is a subclass of OsPtr.
| newRecord result |
newRecord := MyKsdsFile new.
newRecord lastName: 'Record'.
newRecord firstName: 'New'.
newRecord city: 'NewCounty'.
newRecord state: 'NS'.
result := CICS writeqtd
queue: 'TDQU';
from: newRecord;
length: 80;
exec.
Last modified date: 07/09/2019