ViaSQL Features
Remote Stored Procedures


Checkmark These sample Remote Stored Procedures demonstrate the various capabilities of the RSP API. These samples are also distributed with the ViaSQL product.

Name Language Description
SAMP01A Assembler Reads a DB2 table based on a client-supplied parameter
SAMP01C Cobol Reads a DB2 table based on a client-supplied parameter
SAMP01P PL/I Reads a DB2 table based on a client-supplied parameter
SAMP01X C Reads a DB2 table based on a client-supplied parameter
SAMP02A Assembler Demonstrates the use of a STD format pipe
SAMP02C Cobol Demonstrates the use of a STD format output pipe
SAMP02P PL/I Demonstrates the use of a STD format output pipe
SAMP02X C Demonstrates the use of a STD format output pipe
SAMP03A Assembler Demonstrates the use of a DB2 format output pipe
SAMP03C Cobol Demonstrates the use of a DB2 format output pipe
SAMP03X C Demonstrates the use of a DB2 format output pipe
SAMP04A Assembler Uses VSAM and a DB2 format output pipe
SAMP04C Cobol Uses VSAM and a DB2 format output pipe
SAMP04X C Uses VSAM and a DB2 format output pipe