SPAREA definitions in assembler, COBOL II, PL/I, and C are distributed with Open ServerConnect and are reproduced in this appendix. You can copy the appropriate definition into your RSP and provide the necessary information for the relevant fields. The SPAREA definitions are in the SYBASE.ORSP310B.CICS.SOURCE library, and their definitions are reproduced on the indicated page:
SPAREAA—Assembler on “SPAREAA assembler definition”
SPAREAC—COBOL II on “SPAREAC COBOL II definition”
SPAREAP—PL/1 on “SPAREAP PL/1 definition”
SPAREAX—C on “SPAREAX C definition”
Within your RSP, copy the SPAREA definition as shown in the following table. For an example of copying the SPAREA in the context of an RSP written in COBOL II, see the samples in Chapter 3, “Writing an RSP.”
Language |
Copy syntax |
---|---|
Assembler |
COPY SPAREAA |
COBOL II |
COPY SPAREAC. |
PL/I |
EXEC SQL INCLUDE SPAREAP; |
C |
#include “SPAREAX.H” |
When you compile the RSP, the concatenation sequence for SYSLIB must include a DD statement for the MainframeConnect sample program library. See Chapter 4, “Compiling an RSP” and Chapter 5, “Testing and invoking an RSP” for details.
The SPAREA definitions are reproduced on the following pages.
There are several fields in the SPAREA definitions in
the following section that are used only for Client Services Applications
(CSAs). Those fields are described in the Mainframe Connect Client
Option Programmer’s Reference for Client Services
Applications.