Created a test Rexx in OPS/MVS to issue an ESPCOM command via Address ESP. Keep getting "ESP401W INVALID COMMAND, ESPCOM" messages. Below is what is in the Test Rexx.
Parse Upper Arg Server
WAEECMD = "oper espcom list dest("Server")"
Address ESP "SUBSYS(EXXX);"WAEECMD
Do I = 1 to Queued()
Pull Cmdout
Say Cmdout
End
Return
Issued the command with and without OPER.
Could it be possible to advise on how we could use the command in OPS/MVS?
OPS/MVS, All releases
The ESP documentation states this command ESPCOM has to be issued against a Master subsystem. This error occurs when the command is issued to a Proxy ESP subsystem, denoted above as EXXX.