RECEIVE command
Receives data from a 3270 information display system (BTAM or TCAM). In Smalltalk, the parameters of the RECEIVE command are contained in two classes: CICSReceive and CICSReceiveResult.
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 CICSReceive
 
Parameter
Instance method
Mode
Type
Notes/exceptions
ASIS
asis
Input
Switch
 
BUFFER
buffer
Input
Switch
Not TCAM
MAXLENGTH(data-value)
maxlength:
Input
Binary 16
 
NOTRUNCATE
notruncate
Input
Switch
 
Parameters returned by CICS in CICSReceiveResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
LENGTH(data-area)
length
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
 
Example
Receives terminal data using all the RECEIVE command input parameters.
| result |
result := CICS receive
maxlength: 99;
asis;
buffer;
notruncate;
exec.
Last modified date: 07/09/2019