18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

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.

EXCLUSIVE.USE (EXU)<br />

EXCLUSIVE.USE (EXU)<br />

Syntax<br />

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

The EXCLUSIVE.USE; command is a means of restricting access to the database records<br />

of an Ispec. The Ispec must be read in the logic in which the lock is applied. The command<br />

locks all of the records of a Component, or all records of all Events.<br />

This command is ignored in LDA Run Time.<br />

Restrictions on record access are:<br />

$ For UNIX and MCP based <strong>LINC</strong> Systems, records may be read by other users, but<br />

cannot be updated until either the end of the current transaction, or an END.USE;<br />

command (in a Report).<br />

$ For OS 2200 based <strong>LINC</strong> Systems, records remain inaccessible to other users until<br />

either the end of the current transaction, or an END.USE; command (in a Report).<br />

The EXCLUSIVE.USE; command is ignored if a SECURE; command option has been<br />

applied to the same Ispec in the same logic. (The effect of the EXCLUSIVE.USE; command<br />

can also be achieved by locking a control-type record.)<br />

EXCLUSIVE.USE; enables faster access at execution time, as no locks have to be applied,<br />

but has the potential disadvantage of locking out all other users of the Ispec until the lock<br />

is released.<br />

Caution<br />

Excessive use of the EXCLUSIVE.USE command may result in:<br />

$ Long waits for other users<br />

$ Deadlocks<br />

$ An abort at runtime<br />

DDDD DDBDD DDBDDDDDDDDDDDDDDDDDDD4<br />

3 3<br />

@DD DDY<br />

"Integrity" in your <strong>LINC</strong> Generate Operations Guide.<br />

1-120 v

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

Saved successfully!

Ooh no, something went wrong!