| DB Access Class Library for COBOL V1.0 API Reference - Microsoft(R) Windows(R) - - Microsoft(R) Windows NT(R) - - Microsoft(R) Windows(R) 2000 - |
Contents
Index
![]()
|
Chapter 6 DB Access Library API Reference
6.1 Classes
The FJDB-DATABASE class represents a database connected to a server.
Objects of the FJDB-DATABASE class are created using the OPEN-DATABASE or CREATE-OBJECT method in the FJDB-SESSION class.
[Creating an object of the FJDB-DATABASE class]
(Using an OPEN-DATABASE method)
INVOKE SESSION-A "OPEN-DATABASE" USING DSN UID PWD SCM DATABASE-A
RETURNING RET-CODE.
For more information on creating an object of the FJDB-DATABASE class using an OPEN-DATABASE method, see OPEN-DATABASE Method.
(Using a CREATE-OBJECT method)
INVOKE FJDB-DATABASE "CREATE-OBJECT" USING DSN UID PWD SCM OPT ERROR-A
RETURNING DATABASE-A
For more information on creating an object of the FJDB-DATABASE class using a CREATE-OBJECT method, see Creating an Object of the FJDB-DATABASE Class.
Contents
Index
![]()
|