SYVn transactions

The SYVn transactions read a VSAM file and return the records. The SYVn RPC passes two parameters: a starting and an ending byte offset.

Add the RPC using the sgw_addrpc procedure described in “Defining the test RPC”. These transactions call the following programs:

To execute the SYVn RPC you defined, do one of the following:

Output should look like this:

SYGWLSA1
 ---------------------------------------------------
 sample vsam rpc data rec 0 sample vsam rpc data rec 0
 sample vsam rpc data rec 1 sample vsam rpc data rec 1
 sample vsam rpc data rec 2 sample vsam rpc data rec 2
 .
 .
 .
 (10 rows affected, return status = 0)