| 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.2 Methods
Returns the SQLSTATE value of an object of the FJDB-ERROR class.
INVOKE ERROR-A "GET-SQLSTATE" USING SQLST SQLST-SIZE RETURNING RET-CODE.
ERROR-A [attribute:FOBJECT REFERENCE FJDB-ERROR]
Specifies an object of the FJDB-ERROR class.
SQLST [attribute:FX(nn) nn is an area length]
Specifies the area in which the SQLSTATE value is stored.
SQLST-SIZE [attribute:FS9(9) COMP-5]
Returns the length of the character string.
RET-CODE [attribute:FS9(9) COMP-5]
Returns a value of 0 if the method ends normally; otherwise, returns an error code.
A null character string is returned in the following situations:
Contents
Index
![]()
|