Copying SPAREA definitions to the RSP

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:

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.”

Table F-1: SPAREA copy statements

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.

NoteThere 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.