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
Controls
-
DIR Sybase DirectConnect
Syntax
|
1 |
TRS=<span>value</span> |
|
Parameter |
Description |
|---|---|
|
value |
Specifies how your application should
|
Default
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
profileSelect 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:
1SQLCA.DbParameter="TRS=2"