Assigning values to the Transaction object
Before you can use a default (SQLCA)
or nondefault (user-defined) Transaction object, you must assign
values to the Transaction object connection properties. To assign
the values, use PowerScript dot notation.
Example
The following PowerScript statements assign values to the
properties of SQLCA required
to connect to a Sybase Adaptive Server Enterprise database through
the PowerBuilder Adaptive Server Enterprise database interface:
1 |
sqlca.DBMS="SYC" |
1 |
sqlca.database="testdb" |
1 |
sqlca.LogId="CKent" |
1 |
sqlca.LogPass="superman" |
1 |
sqlca.ServerName="Dill" |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest