How CSAs use the SPAREA

A CSA exchanges information with Open ClientConnect by retrieving from and placing values to fields in the Stored Procedure Communication Area (SPAREA).

The CSA establishes the SPAREA for Open ClientConnect with the CSSETUP command. When the CSA issues another command (for example, OPENPIPE), this area communicates the command parameters to Open ClientConnect. Open ClientConnect uses the SPAREA to communicate the results of the command back to the CSA. For information on CSA commands, see Appendix A, “CSA Commands.”

NoteAn SPAREA definition must be included in every CSA. Copy library members that describe the SPAREA for each supported language are included on the Open ClientConnect API and are also described at the end of this chapter.