z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using file locks

z/OS UNIX System Services Planning
GA32-0884-00

Programs using files can specify locks. Locks are used to lock byte ranges in files and are intended for use by cooperating application programs. For information about how systems participating in a shared file system handle file locks, see Locking files in the sysplex.

Programs can use file locks via fcntl().

Locks are advisory. (Advisory locking is used in UNIX systems.) Consequently, more than one program can update a file at the same time. Keep advisory locking in mind during problem determination.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014