11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RECORDLOCKED Function Return Values<br />

The RECORDLOCKED function returns one of the values described in the following<br />

table.<br />

Value Lock Type Lock Owner Locking Command<br />

4 exclusive you FILELOCK, SQL LOCK TABLE,<br />

implicit SQL TP lock escalation.<br />

3 shared you FILELOCK, SQL LOCK TABLE,<br />

implicit SQL TP lock escalation.<br />

2 exclusive you READU, RECORDLOCKU, SQL<br />

TP implicit record locking.<br />

1 shared you READL, RECORDLOCKL, SQL<br />

TP implicit record locking.<br />

0 The record is not locked.<br />

-1 shared another user READL, RECORDLOCKL, SQL<br />

TP implicit record locking.<br />

-2 exclusive another user READU, RECORDLOCKU, SQL<br />

TP implicit record locking.<br />

-3 shared another user FILELOCK, SQL LOCK TABLE,<br />

implicit SQL TP lock escalation.<br />

-4 exclusive another user FILELOCK, SQL LOCK TABLE,<br />

implicit SQL TP lock escalation.<br />

RECORDLOCKED Return Values<br />

Note: When UDT.OPTIONS 35 is on, this function returns a value of -2 when another<br />

user has a READU lock on the record or file.<br />

RECORDLOCKED 1-663

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!