tldm-universe/Ardent/UV/INCLUDE/RECORDLOCKED.H

32 lines
1.3 KiB
C++
Raw Normal View History

2024-09-09 21:51:08 +00:00
*******************************************************************************
*
* uniVerse include file RECORDLOCK.H
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
*******************************************************************************
*
* Maintenance log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 10/14/98 23801 SAP Change copyrights.
* 07/13/94 12297 ALC PI/open module added for compatibility.
*
*******************************************************************************
EQUATE LOCK$MY.FILELOCK TO 3 ;* this user has filelock
EQUATE LOCK$MY.READU TO 2 ;* this user has readu lock
EQUATE LOCK$MY.READL TO 1 ;* this user has readl lock
EQUATE LOCK$NO.LOCK TO 0 ;* record not locked
EQUATE LOCK$OTHER.READL TO -1 ;* another user has readl lock
EQUATE LOCK$OTHER.READU TO -2 ;* another user has readu lock
EQUATE LOCK$OTHER.FILELOCK TO -3 ;* another user has filelock
*
* END-CODE