ALCOBJ (Allocate Object) command

When the name of a DDM file is specified on the Allocate Object (ALCOBJ) command on the source server, the command allocates the DDM file on the source server and its associated file or file member on a target server.

The command places locks on both the DDM file and the remote file in each pair. (These files are locked on both servers to ensure that they are not changed or deleted while the files or members are locked.) One or more pairs of files (DDM files on the source server and remote files on one or more target servers) can be allocated at the same time.

Each DDM file is always locked with a shared-read (*SHRRD) lock. Shared-read is used for the DDM files regardless of the lock types that might have been specified on the command to lock other local files at the same time.

The lock placed on the remote file depends on the type of target server:

Related reference
Allocate Object (ALCOBJ) and Deallocate Object (DLCOBJ) commands