ERROR: %SYSRPUT statement is valid only when OPTION DMR is in effect


The following error may be seen when attempting to Remote Submit the
%SYSRPUT statement.

ERROR: %SYSRPUT statement is valid only when OPTION DMR is in effect.


This error will occur when the %SYSRPUT macro is being Remote Submitted
within a macro. The statement is being processed on the local host
rather than the remote host. The DMR option is only active on the
remote host.

To circumvent the problem, put the remote submitted % statement inside
an %NRSTR function.

   Example: %nrstr(%sysrput rc=&rc);