CL Command Reference - CHKOUT

CL Command List > CHKOUT Reference

Description:

The Check Out Object (CHKOUT) command checks out an object. A user profile is used to determine who is checking out the object.

When an object is checked out, other users can read and copy the object. Only the user who has the object checked out can change the object until it is checked in (see the Check In Object (CHKIN) command).

Restrictions:

1. Only documents within QDLS, and byte stream files can be checked out.

2. The user who submits this command must have write (*W) authority to the object and at least execute (*X) authority to the directory prefixes in the path.

3. Not all file systems will support the CHKOUT command.


Examples:

Example 1: Checking an Object Out

CHKOUT OBJ(¡¯MYDIR/FILE1¡¯)

This command checks out FILE1 in the directory, MYDIR, to the job¡¯s user profile owner.