Product Documentation

V9 Update Guide

Previous Topic

Next Topic

Additional SETOPS Modes

Heterogeneous Platform String Conversion

An additional SETOPS() mode, OPS_CONV_STRING, was introduced that optionally enables the client logic to scan a c-tree data file’s field definitions when the client code reads the DODA from the data file. This is useful in a heterogeneous platform environment.

This conversion is disabled by default. You can enable this behavior from your application with the following FairCom DB call:

SETOPS(OPS_CONV_STRING, OPS_STATE_ON);

Automatic Low-level, Blocking Read Locks

The set operations function, SETOPS(), has an additional mode to enable automatic, low-level, blocking read locks on each record access that does not already have a lock. The locks are released automatically as soon as the record is read. Blocking locks permit a c-tree application to be coded the same whether or not the automatic locks have been requested. But this means a read will block until the read lock is available.

SETOPS(OPS_READLOCK,opcode)

TOCIndex