What is the use of CHKIN command and where do we use this?
i have gone through infocenter but couldn't understand ......
"The Check In Object (CHKIN) command checks in an object that had previously been checked out."
can anybody explain the use of it?
Software/Hardware used:
AS/400,ISERIES
ASKED:
November 1, 2010 11:11 AM
UPDATED:
November 2, 2010 12:28 AM
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