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.

Parameter Description<br />

record.ID.expr Specifies a record to lock.<br />

ON ERROR<br />

statements<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

FILELOCK, FILEUNLOCK, RECORDLOCKED, RECORDLOCKL, RELEASE<br />

UniData<br />

Specifies statements to execute if the RECORDLOCKU<br />

statement fails with a fatal error because the file is not open, an<br />

I/O error occurs, or UniData cannot find the file.<br />

If you do not specify the ON ERROR clause and a fatal error<br />

occurs, the program terminates.<br />

LOCKED statements Specifies statements to execute if the record is locked by<br />

another user. If you do not specify a LOCKED clause, the<br />

program waits until the lock on the record is released.<br />

Use the ECL command DEFAULT.LOCKED.ACTION BELL<br />

to make the terminal beep while you wait for UniData to unlock<br />

the record.<br />

RECORDLOCKU Parameters (continued)<br />

DEFAULT.LOCKED.ACTION – For information, see UniData <strong>Commands</strong><br />

<strong>Reference</strong>.<br />

RECORDLOCKU 1-669

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

Saved successfully!

Ooh no, something went wrong!