DDM-related CL command summary charts

This topic shows summary charts containing most of the control language (CL) commands used with DDM.

Use these commands to determine the DDM job environment to perform remote file processing (by specifying a DDM file name on a file-related parameter of a CL command), or to perform other actions on a remote server by submitting a CL command to the target server on the Submit Remote Command (SBMRMTCMD) command.

The charts show which commands:

Notes are included in the charts that can be helpful to the DDM user.

The following items describe the kinds of information provided in these charts:

Generally, when the target server is an iSeries server or a System/38™, any CL command that can be used in either a batch job or batch program can be specified on the SBMRMTCMD command. If a command has a value of *BPGM and *EXEC specified for the ALLOW attribute, which you can display by using the Display Command (DSPCMD) command, that command can be submitted by the SBMRMTCMD command. (The SBMRMTCMD command uses the QCAEXEC server program to run the submitted commands on the target server.)

Notes:
  1. The SBMRMTCMD command can be used to send commands to an iSeries, System/38, or any other target server that supports the submit remote command function. The command submitted must be in the syntax of the target server.
  2. Although most of the commands listed in this chart can be submitted to a remote server with the SBMRMTCMD command, several can just as easily be run on the source server specifying a DDM file name.
  3. IBM® grants you a nonexclusive copyright license to use all programming code examples from which you can generate similar function tailored to your own specific needs.
  4. All sample code is provided by IBM for illustrative purposes only. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
  5. All programs contained herein are provided to you "AS IS" without any warranties of any kind. The implied warranties of non-infringement, merchantability and fitness for a particular purpose are expressly disclaimed.
Table 1. DDM-related CL commands
Command name Related to file, object or both Affects objects on source, target or both OVRDBF command SBMRMTCMD command1
ADDLFM
ADDPFM
ALCOBJ
CHGDFUDEF
CHGDTA

F
F
F O

T2
T3
S T
T
T

 

X
X
X
X

CHGJOB
CHGLF
CHGLFM
CHGNETA
CHGOBJOWN

F
F

F O

S T
T3

S

 

X
X
X
X
X

CHGPF
CHGPFM
CHGQRYDEF
CHGSRCPF
CHKOBJ

F
F

F
F O

S T
T3
T
S T
S

 

X
X

X
X

CLOF
CLRPFM
COMMIT
CPYF
CPYFRMDKT
CPYFRMQRYF
CPYFRMTAP

F
F
F
F
F
F
F

T
T
S T
S T
S T
S T
S T

X


X
X
X
X

X
X
X11
X
X4
X
X4

CPYSPLF
CPYSRCF
CPYTODKT
CPYTOTAP
CRTBASPGM

F
F
F
F

T
S T
S T
S T
T

X
X
X

X
X
X4
X4
X

CRTCBLPGM
CRTCLPGM
CRTCMD
 

T
T
T

 

X
X
X

CRTDFUAPP
CRTDFUDEF
CRTDSPF
CRTDUPOBJ
CRTICFF

 
 
F
O
F

T
T
T
S
T

 
 
 
X

X
 
X
X
X

CRTLF
CRTPF
CRTPLIPGM
CRTPRTF
CRTPRTIMG

F
F

F

S T
S T
T
T
T

 
X
 
 
 

X
X
X
X
X

CRTQRYAPP
CRTQRYDEF
CRTRPGPGM
CRTRPTPGM
CRTSRCPF

 
 
 
 
F

T
T
T
T
S T

 
 
 
 
X

X
 
X
X
X

CRTTBL
DCLF
DLCOBJ
DLTDFUAPP
DLTF

 
F
F O
 
F

T
T
S T
 
S T

 

X
 
X
X
X

DLTQRYAPP
DMPOBJ
DMPSYSOBJ
DSNDFUAPP
DSNQRYAPP

 
F O
O
 
 

 
S
S
T
T

 

X
X5
X5
 
 

DSPDTA
DSPFD
DSPFFD
DSPNETA
DSPOBJAUT

 
F
F
 
F O

T
S T
S T
 
S

 

 
X5
X5
X
X5

DSPOBJD
DSPPFM
ENDCMTCTL
FMTDTA
GRTOBJAUT
INZPFM

F O
F
F
 
F O
F

S
T
S T
T
S
T2

 

X5
 
X11
X
X
X

MOVOBJ
OPNDBF6 
OPNQRYF 
OVRDBF 
POSDBF

O
F
F
F
F

S      
T      
T
S      
T

 
X
X
 
 

X
 
X
7
X

QRYDTA
RCVF
RCVNETF
RGZPFM
RMVM

 
F
F
F
F

T
T
 
T
T

 

X
 
X
X
X

RNMM
RNMOBJ
ROLLBACK
RSTLIB
RSTOBJ
RTVDFUSRC

F
F O
F
 
F O
 

T
S T8
S T
S
S
T

 

X
X
X11
X9
X9
X

RTVQRYSRC
RVKOBJAUT
SAVCHGOBJ
SAVLIB
SAVOBJ

 
F O
O
 
F O

T
S
S
S
S

 

X
X
X9
X9
X9

SBMDBJOB
SNDNETF
STRBAS
STRBASPRC
STRCMTCTL
STRDBRDR
WRKJOB
WRKOBJLCK10

 
F
 
O
F
 
O
F O

T
T
T
T
S T
T
 
S

 

X
X
X
X
X11
X
X5
X5

Notes:
1
The use of the SBMRMTCMD command is not valid with any of the commands in these charts unless the target server is an iSeries server or a System/38.
2
This member-related command can be used only if the target server is an iSeries server.
3
This member-related command can be used only if the target server is an iSeries server or a System/38.
4
These commands require intervention on the target server to load a tape and they might not produce the results expected.
5
When submitted to the target server, these commands produce output on the target server only; the output is not sent to the source server.
6
OPNDBF command: For more information about commitment control restrictions, see Commitment control support for DDM.
7
OVRDBF command: Although this command works when submitted on the SBMRMTCMD command to a target iSeries server or a System/38, it is not recommended.
8
RNMOBJ command: OBJTYPE*FILE must be specified.
9
When submitted to the target server, these commands require target server resources when tapes are used to produce the output.
10
WRKOBJLCK command: This command displays any locks on the DDM file, not the remote file.
11
This command will work, but its use is not recommended.
Related reference
CL command considerations for DDM
iSeries and System/38 target systems on the SBMRMTCMD command
DDM-related CL command lists
Target iSeries-required file management commands
Member-related commands with DDM
Commitment control support for DDM
Perform file management functions on remote servers