| 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 current status of editing performed on the current row
.
| Symbolic constant | Value | Meaning |
| FJDB-SCDB-READ | 0 | Unable to edit the current row. |
| FJDB-SCDB-ADD | 1 | Creating a new row with the ADD-NEW-RECORD method. |
| FJDB-SCDB-EDIT | 2 | Editing the current row. |
INVOKE RECORDSET-A "GET-EDIT-MODE" RETURNING E-MODE.
RECORDSET-A [attribute:OBJECT REFERENCE FJDB-RECORDSET]
Specifies an object of the FJDB-RECORDSET class.
E-MODE [attribute:S9(9) COMP-5]
Returns the current status of editing.
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
![]()
|