Can I suspend or resume an event through using a command in Netview? I know I can trigger an event this way, but not sure I can suspend or resume it. The trigger command is such: F ESP,TRIGGER XXSTUGRP.MYTEST ADD.
It would look like this.
F ESP,SUSPEND XXSTUGRP.MYTEST
Thanks Don, but this command didn't work. Received ESP401W INVALID COMMAND, SUSPEND.
I tried also using F ESPMASTR,SUSPEND VASTUGRP.MIKETEST, still same response.
ESP401W INVALID COMMAND, SUSPEND
SUSPEND and RESUME can not be issued as MVS modify command. You may set a specific CLASS for the event, and then issue CLASS command instead.
For example, add CLASS in Event definition:
EVENT ID(XXSTUGRP.MYTEST) CLASS(TESTZZ) SYSTEM(-) REPLACE
Then issue following to suspend it:
F ESP,CLASS TESTZZ SUSPEND
Note: generally CLASS command is meant to affect a group of events. But if there is only one event for the same class, the command will only affect one event. By default, event prefix is the class value.
Hope this helps,
Have you tried with CLASS command? Do you have any more concerns?
Thank you for your update,