UseDBRPC

Allows a client to send RPC requests larger than 64KB to the mainframe.

When an RPC is executed, a client sends a TDS_RPC TDS token stream to the server. The server reads the stream, processes the request and returns any results back to the client. The TDS_RPC stream in TDS version 5.0 had a 2-byte integer indicating the total length of the TDS_RPC stream, which limits each TDS_RPC stream to 64KB in length.

DirectConnect provides a new token, named TDS_DBRPC. This token removes the RPC length limit.

NoteIf you want to send RPC requests larger than 64K to the mainframe, and you are running Mainframe Connect Server Option (Open ServerConnect) software that pre-dates Open ServerConnect 3.1, check your latest release bulletins to verify that the UseDBRPC property is compatible with your version. If your Mainframe Connect Server Option version is incompatible with the UseDBRPC property, your RPC requests will fail when this feature is on.

Syntax

UseDBRPC=[ no | yes ]

Default

yes

Values

no turns off DBRPC, preventing a client from sending RPC requests larger than 64K to the mainframe.

yes turns on DBRPC, allowing a client to send RPC requests larger than 64K to the mainframe.