Writing communications applications for the server : Writing APPC transaction programs : Writing APPC applications for CICS

Writing APPC applications for CICS
Applications can issue CICS commands for APPC conversations and so control the allocation and use of an APPC session. To do this, a program must be aware of the state of the conversation over the intersystem link at any given time. The CICS commands used to control an APPC conversation, along with their corresponding Smalltalk classes, are as follows:
CICSAppcallocate, CICSAppcallocateResult
CICSAppcconnectprocess, CICSAppcconnectprocessResult
CICSAppcconverse, CICSAppcconverseResult
CICSAppcextractattributes, CICSAppcextractattributesResult
CICSAppcextractprocess, CICSAppcextractprocessResult
CICSAppcfree, CICSAppcfreeResult
CICSAppcissueabend, CICSAppcissueabendResult
CICSAppcissueconfirmation, CICSAppcissueconfirmationResult
CICSAppcissueerror, CICSAppcissueerrorResult
CICSAppcissuesignal, CICSAppcissuesignalResult
CICSAppcreceive, CICSAppcreceiveResult
CICSAppcsend, CICSAppcsendResult
CICSAppcwait, CICSAppcwaitResult
See the Server Guide for a description of the CICS commands and their command options supported by VA Smalltalk Server.
The process below assumes that you have set up the appropriate side information on the client and have defined the transaction program to the server. For more information about writing APPC programs for CICS, see the CICS documentation. The sample program shows a simple two-way communication between a front-end transaction running from a workstation and a back-end transaction residing on CICS Transaction Server.