ADDRESS command
Gets access to CICS storage areas. In Smalltalk, the parameters of the ADDRESS command are contained in two classes: CICSAddress and CICSAddressResult. 
See CICS Application Programming Reference for the syntax of the command and a description of its parameters. 
The object returned is a CICSObject, which is a subclass of OsPtr. As such, the object can be accessed directly using methods such as copyFrom:to:. Alternatively, you can subclass CICSObject with your own application-defined class. 
Defined instance methods
Parameters supplied to CICS in CICSAddress
None. 
Parameters returned by CICS in CICSAddressResult
 
 |  |  |  |  | 
COMMAREA(ptr-ref)   | commarea   | Output   | Variable   |    | 
CWA(ptr-ref)   | cwa   | Output   | Variable   |    | 
EIB(ptr-ref)   | eib   | Output   | Variable   |    | 
RESP   | resp   | Output   | Fixed(2)   | Inherited from CICSResult.   | 
RESP2   | resp2   | Output   | Fixed(2)   | Inherited from CICSResult.   | 
TCTUA(ptr-ref)   | tctua   | Output   | Variable   | Always returns nil in the MVS environment.   | 
TWA(ptr-ref)   | twa   | Output   | Variable   |    | 
Examples
Example 1 
Establishes the address of the communication area. In this example, CICSCommArea is a subclass of OsPtr. 
| result aCommArea |
 
result := CICS address exec.
aCommArea := CICSCommArea address: (result commarea reference).
Example 2 
Finds the length of the communication area based on the eib. 
| result eib commAreaLength |
 
result := CICS address exec.
eib := result eib.
commAreaLength := eib eibcalen.
Last modified date: 05/11/2020