The SHARE option specifies the level of file sharing to be allowed.
.-NONE-. >>-SHARE--(-+-READ-+-)----------------------------------------->< '-ALL--'
This option is valid only with DDM files.
To enable record-level locking, specify SHARE(ALL) and declare the file as an update file. This is recommended when running CICS applications.
The UNDEFINEDFILE condition is raised if the requested or default level of file sharing cannot be obtained.