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:
- Are file-related (that operate on file objects)
- Are object-related (that operate on objects other than files, in addition to file objects)
- Can be performed on the source side or on the target side
- Can be affected by file overrides by using the Override with Database File (OVRDBF) command
- Are allowed, and have a useful purpose, to be submitted to a target iSeries™ server to run (by using the SBMRMTCMD command), rather than running on the source server
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:
- The first column lists all the CL commands that can be used by DDM: (a) to operate on a remote file identified in a DDM file, or (b) to be submitted on a SBMRMTCMD command using a DDM file.
- In the second column, an F means the command is file related, an O means it is related to i5/OS® objects other than files, and a blank means neither of these.
- In the third column, an S means the command operates on objects on the source side, and a T means it operates on objects on the target side. For example, with the create commands that create a file or program using a DDM file as a source file, the T indicates that a source file on the target server is used for the creation; the command runs on the source server and creates a file or program on the source server, but uses a source file on the target server to do it.
If neither S nor T is shown, the name of a DDM file should not be specified on the command; the command should not run on the source server as a DDM function. However, the command might be useful when submitted on the SBMRMTCMD command to run on the target server (see the last column).
- In the last two columns, an X indicates that the command is valid and useful when used with the command indicated at the top (OVRDBF or SBMRMTCMD) of the column. A blank indicates that the command is not valid.
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:
- 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.
- 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.
- 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.
- 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.
- 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.
Notes:
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 CHGDTAF
F
F O
T2
T3
S T
T
TX
X
X
X CHGJOB CHGLF CHGLFM CHGNETA CHGOBJOWNF
F
F OS T
T3
SX
X
X
X
X CHGPF CHGPFM CHGQRYDEF CHGSRCPF CHKOBJF
F
F
F OS T
T3
T
S T
SX
X
X
X CLOF CLRPFM COMMIT CPYF CPYFRMDKT CPYFRMQRYF CPYFRMTAPF
F
F
F
F
F
FT
T
S T
S T
S T
S T
S TX
X
X
X
XX
X
X11
X
X4
X
X4 CPYSPLF CPYSRCF CPYTODKT CPYTOTAP CRTBASPGMF
F
F
FT
S T
S T
S T
TX
X
XX
X
X4
X4
X CRTCBLPGM CRTCLPGM CRTCMDT
T
TX
X
X CRTDFUAPP CRTDFUDEF CRTDSPF CRTDUPOBJ CRTICFF
F
O
FT
T
T
S
T
XX
X
X
X CRTLF CRTPF CRTPLIPGM CRTPRTF CRTPRTIMGF
F
FS T
S T
T
T
T
X
X
X
X
X
X CRTQRYAPP CRTQRYDEF CRTRPGPGM CRTRPTPGM CRTSRCPF
FT
T
T
T
S T
XX
X
X
X CRTTBL DCLF DLCOBJ DLTDFUAPP DLTF
F
F O
FT
T
S T
S TX
X
X
X DLTQRYAPP DMPOBJ DMPSYSOBJ DSNDFUAPP DSNQRYAPP
F O
O
S
S
T
TX
X5
X5
DSPDTA DSPFD DSPFFD DSPNETA DSPOBJAUT
F
F
F OT
S T
S T
S
X5
X5
X
X5 DSPOBJD DSPPFM ENDCMTCTL FMTDTA GRTOBJAUT INZPFMF O
F
F
F O
FS
T
S T
T
S
T2X5
X11
X
X
X MOVOBJ OPNDBF6 OPNQRYF OVRDBF POSDBFO
F
F
F
FS
T
T
S
T
X
X
X
X
7
X QRYDTA RCVF RCVNETF RGZPFM RMVM
F
F
F
FT
T
T
TX
X
X
X RNMM RNMOBJ ROLLBACK RSTLIB RSTOBJ RTVDFUSRCF
F O
F
F O
T
S T8
S T
S
S
TX
X
X11
X9
X9
X RTVQRYSRC RVKOBJAUT SAVCHGOBJ SAVLIB SAVOBJ
F O
O
F OT
S
S
S
SX
X
X9
X9
X9 SBMDBJOB SNDNETF STRBAS STRBASPRC STRCMTCTL STRDBRDR WRKJOB WRKOBJLCK10
F
O
F
O
F OT
T
T
T
S T
T
SX
X
X
X
X11
X
X5
X5
- 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.
Parent topic:
DDM-related CL command lists
Related reference
CL command considerations for DDM
iSeries and System/38 target systems on the SBMRMTCMD command
Target iSeries-required file management commands
Member-related commands with DDM
Commitment control support for DDM
Perform file management functions on remote servers