The jomBeginLock call, shown in the following example, is used to ensure that objects referenced after the jomBeginLock call are the latest editions of the objects.
As objects are referenced, an implicit shared lock is acquired on each object, which causes the latest edition to be fetched from the server, if required.
int jomBeginLock(const DskHandle *pHandle, UInt32 lineNo)
The parameters for this call are described in the following subsections.