OPSTATUS is returning 0 when checking status of started tasks that run on remote LPARs.
It works fine when the task is local to the system where OPSTATUS is running.
Syntax being used is:
status = opstatus("a","a",taskname,msfid)
Release : 13.0 and 13.5
Component : OPS/MVS
When the system argument is specified for a remote system within a no-wait AOF rule, no output for the function will ever be returned except zero.
Correct output can be obtained using a REQ (request) rule or dispatching an OPS/REXX to a server using ADDRESS OSF "OI pgmname"