DDM-related CL command considerations
These topics describe DDM-related specifics about CL commands when they are used with DDM files. These topics discuss running the commands on the client system and do not discuss them being submitted to run on the server system by the Submit Remote Command (SBMRMTCMD) command.
Note: You see message CPF9810 if the following items are true about a DDM
file:
- The file is created into library QTEMP.
- The file is used by a CL command (such as CPYF).
- A remote file and library was specified in the CL command and the library does not exist on the remote server.
Message CPF9810 indicates that the QTEMP library was not found. However, the library that was not found is the remote library that was specified in the DDM file.
- File management handling of DDM files
Because of the way data management handles DDM files, you must be careful when specifying a member name on commands. If a member name is specified, data management first searches for a local database file containing the member specified before looking for a DDM file. - Allocate Object (ALCOBJ) command
When the name of a DDM file is specified on the Allocate Object (ALCOBJ) command on the client system, the command allocates the DDM file on the client system and its associated file or file member on a server system. - Change Job (CHGJOB) command
The Change Job (CHGJOB) command can be used to change the DDMCNV parameter, which controls whether Advanced Program-to-Program Communication (APPC) or IBM® i Access Family conversations allocated for DDM use are to be kept active or automatically dropped when they are not in use by a job. The new value goes into effect immediately for the specified job. - Change Logical File (CHGLF) command
The Change Logical File (CHGLF) command can be used to change files on the client and server systems through the SYSTEM parameter. - Change Physical File (CHGPF) command
The Change Physical File (CHGPF) command can be used to change files on the client and server systems through the SYSTEM parameter. - Change Source Physical File (CHGSRCPF) command
The Change Source Physical File (CHGSRCPF) command can be used to change files on the client and server systems through the SYSTEM parameter. - Clear Physical File Member (CLRPFM) command
The Clear Physical File Member (CLRPFM) command can be used with DDM to clear all the records either from a physical file member on a IBM i server system or from a file on a non-IBM i server system. The command works the same way as it does for local files (clearing all data records and deleted records). - Copy commands with DDM
This topic describes the DDM implications of these CL commands. - Create Data Area (CRTDTAARA) command
The Create Data Area (CRTDTAARA) command creates a data area and stores it in a specified library. It also specifies the attributes of the data. The data area can be optionally initialized to a specific value. - Create Data Queue (CRTDTAQ) command
The Create Data Queue (CRTDTAQ) command creates a data queue and stores it in a specified library. Data queues are used to communicate and store data used by several programs either within a job or between jobs. Multiple jobs can send or receive data from a single queue. - Create Logical File (CRTLF) command
The Create Logical File (CRTLF) command can be used to create files on the client and server systems through the SYSTEM parameter. - Create Physical File (CRTPF) command
The Create Physical File (CRTPF) command can be used to create files on the client and server systems through the SYSTEM parameter. - Create Source Physical File (CRTSRCPF) command
The Create Source Physical File (CRTSRCPF) command can be used to create files on the IBM i source and server systems through the SYSTEM parameter. - Deallocate Object (DLCOBJ) command
When the name of a DDM file is specified on the Deallocate Object (DLCOBJ) command on the client system, the command deallocates the DDM file on the client system and its associated file or file member on a server system. - Delete File (DLTF) command
The Delete File (DLTF) command can be used to delete files on the client and server systems. - Display File Description (DSPFD) command
The Display File Description (DSPFD) command can be used to display (on the client system) the attributes of the DDM file on the client system, the remote file on the server system, or both the DDM file and the remote file. As with local files, the attributes of multiple DDM files, multiple remote files, or both can be displayed by the same command. - Display File Field Description (DSPFFD) command
The Display File Field Description (DSPFFD) command can be used to display the file, record format, and field attributes of a remote file. To display the remote file attributes, however, you must enter the name of the DDM file associated with the remote file, not the name of the remote file. - Open Query File (OPNQRYF) command
You can query remote files using the Open Query File (OPNQRYF) command, but only if the remote files are on a target IBM i or a target System/38. - Override with Database File (OVRDBF) command
The Override with Database File (OVRDBF) command can be used with DDM to override (replace) a local database file named in the program with a DDM file; the DDM file causes the associated remote file to be used by the program instead of the local database file. - Reclaim Resources (RCLRSC) command
The Reclaim Resources (RCLRSC) command, like the Reclaim DDM Conversations (RCLDDMCNV) command, can be used to reclaim all DDM conversations that currently have no users in the job. - Rename Object (RNMOBJ) command
The Rename Object (RNMOBJ) command can be used to rename a remote file. - Work with Job (WRKJOB) command
The Work with Job (WRKJOB) command can be used to display two DDM-related items. - Work with Object Lock (WRKOBJLCK) command
The Work with Object Lock (WRKOBJLCK) command can be used to display the object lock requests (held locks and pending locks) for DDM files. This command displays only the locks held for the local DDM files, not locks held for the associated remote files.
Parent topic: Using CL and DDS with DDM