Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.59 ConcurrencyCursor Property

Description:

Indicates the cursor mode for concurrent updates.

It is only effective when the target is a table.

Used in control(s):

DBAccess

Values (with constants):

1 - SQL_CONCUR_READ_ONLY: (POW-DBCONCUR-READONLY)
No updates are permitted using the cursor.

2 - SQL_CONCUR_LOCK: (POW-DBCONCUR-LOCK)
The cursor locks the row for update.

3 - SQL_CONCUR_OPT_ROWVER: (POW-DBCONCUR-OPTROWVER)
Row versions are compared before update using the optimization concurrent control.

4 - SQL_CONCUR_OPT_VALUES: (POW-DBCONCUR-OPTVALUES)
Values are compared before update using the optimization concurrent control.

The current record can be updated or deleted unless ConcurrencyCursor is set to 1.

Default value:

1 - SQL_CONCUR_READ_ONLY: (POW-DBCONCUR-READONLY)
No updates are permitted using the cursor.

COBOL picture:

S9(9) COMP-5

OLE data type:

VT_I4

Design time access:

Set and reference.

Execution time access:

Reference only.

Backward compatibility attribute:

None.