The CHKOUT/CHKIN commands provide some command-level help in controlling access to streamfiles in the IFS. When a streamfile is checked out by a job, another job cannot check out the same object until the first job checks the object back in.
There is no enforcement of locks. Other jobs can update the streamfile if they don't honor the CHKOUT process.
The two commands simply allow you to write CL programs that can coordinate with each other. The commands are primarily for your convenience.
Tom
Discuss This Question: 1  Reply