UpperCase  Service configuration properties

Chapter 2: Creating a TRS

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 Open ServerConnect software that predates Open ServerConnect 3.1, check your latest release bulletins to verify that the UseDBRPC property is compatible with your version. If your Open ServerConnect 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 DBRPC off, preventing a client from sending RPC requests larger than 64K to the mainframe.

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

Comments

None





Copyright © 2005. Sybase Inc. All rights reserved. Service configuration properties

View this book as PDF