Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

RPCRebind – PB Docs 126 – PowerBuilder Library

RPCRebind – PB Docs 126

RPCRebind database parameter

Description

Specifies whether you want PowerBuilder to rebind Remote Procedure
Call (RPC) parameters.

note.png When to specify RPCRebind

If your back-end DBMS supports it, you must specify the RPCRebind parameter before connecting
to the database.

Controls

  • ODBC

Syntax

Parameter

Description

value

Specifies whether you want PowerBuilder to
rebind RPC parameters. Values are:

  • 0

    (Default) Use the bound variable to determine all required binding
    information.

  • 1

    Rebind the parameters and use the parameter information returned
    from the database to bind the parameter.

Default

RPCRebind=0

Usage

For those DBMSs that support RPC calls, PowerBuilder binds the
parameters for the call based on the size of the variables bound
to the parameters.

Some drivers require rebinding of the parameters so the parameter
size (as returned from the back-end database) is used instead of
the variable size. Failure to do this might result in an error or
truncation for string parameters. However, some drivers always expect
the binding to reflect the variable size. The RPCRebind parameter
allows you to specify whether you want to rebind the parameters
when RPCs are executed.

Examples

To specify that PowerBuilder should rebind RPC parameters:

  • Database profile

    Select the RPC Rebind check box on the Transaction page in
    the Database Profile Setup dialog box.

  • Application

    Type the following in code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x