TRS – PB Docs 2021

TRS

database parameter

Description

Specifies whether you want your application to connect to a
database through the DirectConnect server using:

DirectConnect Access Service for DB2/MVS
DirectConnect TRS
Gatewayless connection using OpenServerConnect

Applies to

DIR SAP DirectConnect

Syntax

Parameter

Description

value

Specifies how your application should connect to a
database through the DirectConnect server. Values
are:

  • 0

    (Default) Use an Access Service connection.

  • 1

    Use a TRS connection.

  • 2

    Use a gatewayless or OpenServerConnect
    connection.

Default value

TRS=0

Usage

If you have chosen to make a gatewayless database connection, you
can then set the UseProcSyntax parameter to specify whether PowerBuilder
should convert the syntax for invoking a Remote Stored Procedure (RSP)
or host-resident request before executing that procedure.

Examples

To specify that you want to connect to a database using
OpenServerConnect:

  • Database profile

    Select Gatewayless from the Choose Gateway drop-down list on
    the Connection page in the Database Profile Setup dialog box.

  • Application

    Type the following in code:

See also

UseProcSyntax

HostReqOwner


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