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
TRS=value
Parameter |
Description |
---|---|
value |
Specifies how your application should connect to a database through the DirectConnect server. Values are:
|
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:
SQLCA.DBParm="TRS=2"
See also