Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

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 <_Host_<

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 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.


Previous Topic Next Topic Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.

Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS

Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.