| 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 level of an object of the FJDB-ERROR class.
| Symbolic constant | Value | Meaning |
| FJDB-SCST-SEVERITY-INFO | 0 | Information |
| FJDB-SCST-SEVERITY-DEBUG | 1 | Debugging information |
| FJDB-SCST-SEVERITY-WARNING | 2 | Warning |
| FJDB-SCST-SEVERITY-ERROR | 3 | Error |
INVOKE ERROR-A "GET-SEVERITY" RETURNING SEVERITY.
ERROR-A [attribute:OBJECT REFERENCE FJDB-ERROR]
Specifies an object of the FJDB-ERROR class.
SEVERITY [attribute:S9(9) COMP-5]
Returns the level.
A library file having symbolic constants defined in it, FJDBOPT.CBL is stored in the COPY folder of the folder in which the DB access class library is installed. To use symbolic constants in a program, follow the instructions given below:
Example:
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
SYMBOLIC CONSTANT
COPY FJDBOPT.
.
Contents
Index
![]()
|