Object-oriented commands with DDM

The DDM file object on the source iSeries™ server can be accessed by these object-oriented CL commands. These commands work with DDM files as they normally do with any other files on the local server.

Some of these commands can operate on more than one object, and one or more of them might be DDM files if, for example, a generic file name is specified.

Except as noted in the chart, these commands have no effect on the remote file associated with the DDM file; that is, no reference is made over a communications line to the target server when one of these commands specifies a DDM file.

However, if you do want one of these commands to operate on a remote file (instead of the DDM file), you can use the Submit Remote Command (SBMRMTCMD) command to submit the command to run on the target server, if it is an iSeries server or a System/38™. The results of running the submitted command, in this case, are not sent back to the source server, except for some indication to the source server user (normally a message) about whether the function was performed successfully.

Command name Descriptive name
CHGDDMF Change DDM File
CHGLF1,2,3,4 Change Logical File
CHGOBJOWN Change Object Owner
CHGPF1,2,3,4 Change Physical File
CHGSRCPF1,2,3,4 Change Source Physical File
CHKOBJ Check Object
CRTDDMF Create DDM File
CRTDUPOBJ Create Duplicate Object
CRTLF1,2,3 Create Logical File
CRTPF1,2,3 Create Physical File
CRTSRCPF1,2,3 Create Source Physical File
CRTS36CBL6 Create S/36 COBOL Program
CRTS36DSPF7 Create S/36 Display File
CRTS36MNU7 Create S/36 Menu
CRTS36MSGF7 Create S/36 Message File
CRTS36RPG6 Create S/36 RPG II Program
CRTS36RPGR7 Create Console Display File
CRTS36RPT6 Create S/36 RPG II Auto Report
DLTF1,2,3 Delete File
DMPOBJ Dump Object
DMPSYSOBJ Dump System Object
DSPFD1,2,3 Display File Description
DSPFFD1,2,3 Display File Field Description
DSPOBJAUT Display Object Authority
DSPOBJD Display Object Description
GRTOBJAUT Grant Object Authority
MOVOBJ Move Object
RCLDDMCNV Reclaim DDM Conversations
RNMOBJ1,2,3 Rename Object
RSTLIB Restore Library
RSTOBJ Restore Object
RVKOBJAUT Revoke Object Authority
SAVCHGOBJ Save Changed Object
SAVLIB Save Library
SAVOBJ Save Object
WRKJOB5 Work with Job
WRKOBJLCK5 Work with Object Lock
1
When run on the source system, this command does not refer to the remote file when SYSTEM(*LCL) is used.
2
The remote operation is performed if SYSTEM(*RMT) is specified, or if SYSTEM(*FILETYPE) is specified and the file is a DDM file.
3
Because DDM file names can be specified on these commands, the SBMRMTCMD command is not needed to perform these functions on a target iSeries server or a target System/38.
4
The target must be an iSeries server at release 3.0 and above or support Level 2.0 of DDM architecture.
5
When run on the source server, this command displays any locks on the DDM file, not on the remote file.
6
This System/36™ environment command is supported by DDM.
7
This System/36 environment command is not supported by DDM.
Related concepts
Control language
Related reference
DDM-related CL command lists
Perform file management functions on remote servers