iSeries™ and System/38™ target systems on the SBMRMTCMD command

The SBMRMTCMD command can submit any CL command that can run in both the batch environment and using the QCAEXEC server program.

That is, a command can be submitted using the SBMRMTCMD command if it has both of the following values for the ALLOW attribute:

*BPGM
The command can be processed in a compiled CL program that is called from batch entry.
*EXEC
The command can be used as a parameter on the CALL command and get passed as a character string to the server program for processing.

You can look for these possible values using the Display Command (DSPCMD) command. (The SBMRMTCMD command uses the QCAEXEC or QCMDEXEC system program to run the submitted commands on the target server.) However, because some of these allowable commands require intervention on the target server and might not produce the results expected, you should consider the items listed in the topic Restrictions for the SBMRMTCMD first.

The user must have the proper authority for both the CL command being submitted and for the target server objects that the command is to operate on.

Related reference
Restrictions for the SBMRMTCMD command
DDM-related CL command summary charts