RETURN command
Returns control from an application program either to an application program at the next higher logical level or to CICS. In Smalltalk, the parameters of the RETURN command are contained in two classes: CICSReturn and CICSReturnResult.
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 CICSReturn
 
Parameter
Instance method
Mode
Type
Notes/exceptions
COMMAREA(data-area)
commarea:
Input
Variable
 
LENGTH(data-value)
length:
Input
Binary 16
 
TRANSID(name)
transid:
Input
Fixed(4)
 
Parameters returned by CICS in CICSReturnResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
RESP
resp
Output
Fixed(2)
Inherited from CICSResult.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult.
Example
Returns control to the calling program.
CICS return exec.
Last modified date: 07/09/2019