11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

it updates the corresponding actual variable (to reflect changes made to the formal variable)before executing the KILL.See Also• ZKILL command• $ZUTIL(68,28) Control Root (Unsubscripted) Node Kills function• $STORAGE special variableLOCKLOCKEnables processes to request control and release control of data resources.LOCK:pcL:pcLOCK:pc oper(lockname#locktype,...):timeout,...L:pc oper(lockname#locktype,...):timeout,...ArgumentspcoperlocknamelocktypetimeoutOptional — A postconditional expression.Optional — The lock operation indicator (a + or – sign) to apply or removea lock.The resource(s) to be locked or unlocked. Must be a valid identifier,following the same naming conventions as local variables or globals.Optional — A letter code specifying the type of lock to apply or remove.Optional — The time to wait before the transaction times out. Specifiedas an integer number of seconds.DescriptionThere are two basic forms of the LOCK command:• Without an argument• With an argument<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 79

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

Saved successfully!

Ooh no, something went wrong!