X 4.2.13 LOCK MODE Clause (OS/2 VSAM Files Only)
X >_Host_> On OS/390 and VM, the LOCK MODE IS AUTOMATIC clause is invalid.
X >_Workstation_> The LOCK MODE IS AUTOMATIC clause is only supported by the
X VSAM file system running on OS/2.
X The LOCK MODE IS AUTOMATIC clause is treated as a comment on:
- X AIX
- X Windows
- X OS/2 (with the exception of VSAM)
X For OS/2 VSAM files, record locking is not supported for files that reside
X on an OS/2 LAN server. Files residing on OS/2 LAN servers are opened
X shared read or exclusive write. <_Workstation_<
X The LOCK MODE clause specifies whether a file is in exclusive or shareable
X mode. A file in exclusive mode is open to one file connector only. A
X file in shareable mode is available to any number of file connectors that
X do not require exclusive mode.
X A file is in exclusive mode if the LOCK MODE clause is omitted (as long as
X the file is not opened for input).
X A file is in shareable mode when it is opened for input or when the LOCK
X MODE IS AUTOMATIC clause is specified and is supported.
X Do not specify the LOCK MODE IS AUTOMATIC clause if the file is specified
X in a USING or GIVING phrase of a SORT or MERGE statement.
X The WITH LOCK ON RECORD phrase is for documentation purposes only.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
IBM Hardware |
IBM System z Redbooks
How to order publications
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Download IBM Softcopy Librarian
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.