Appendix B. CICS Smalltalk classes : GETMAIN command

GETMAIN command
Obtains main storage. In Smalltalk, the parameters of the GETMAIN command are contained in two classes: CICSGetmain and CICSGetmainResult.
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 CICSGetmain
 
Parameters returned by CICS in CICSGetmainResult
 
Inherited from CICSResult.
Inherited from CICSResult.
Example
Obtains CICS main storage.
| resultfromGetmain obtainedStorage |
resultfromGetmain := CICS getmain
length: 81;
initimg: 0;
shared;
exec.
obtainedStorage := resultfromGetmain set.