I am trying to run a piece of code as a TOD rule in OPS/MVS r12.2 that simply pings a server. If the response is RC 0, the ping worked. If anything else, the ping failed.. send an alert.
Now, when I test my Rexx with a trace outside of OPS/MVS. If works great!
Outside of OPS, when the ping response is something other than 0, send an alert. I get RC 100 when the ping is bad. That is expected, I'm happy.
+++ RC(100) +++
*_* IF rc = 0
>V> "100"
>L> "0"
>O> "0"
When I run the same piece of code via a rule in OPS/MVS.... If I ping an invalid OR valid server, the RC is always 0 - I do not know why.
Sorry if this is in the wrong place. I searched OPS/MVS and OPS/MVS Japan forum popped up.
James Quint, Jr