An remote stored procedure (RSP) is a customer-written CICS program that resides on the mainframe. You can write an RSP in any one of the following languages:
assembler
COBOL II
PL/1
C
An RSP can use any CICS resource or access any CICS data source.
Here are restrictions for creating an RSP:
The DB2 access service recognizes argument values that are enclosed in either single or double quotes
Quoted argument values must be in the proper case.
The entire statement has a 32Kb size limit.
For more information about RSPs, see the Mainframe Connect Server Options Programmers Reference for Remote Stored Procedures.