Verifying/reviewing results of OPSCA7 function
search cancel

Verifying/reviewing results of OPSCA7 function

book

Article ID: 195183

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Running in an OSF server and it looks like no errors occurred and return code seems to be a 0.  How to view the results of commands like this using OPSCA7?   Also trying to issue the LAGENT command to determine agent status, but have not been able to find command results. 

Time     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7
09:47:40 OPS0997T *-* 17:Z= OPSCA7(CMDSTRING)                                  
09:47:40 OPS0997T >V>    /AGENT,AGENT=AGENTXXX,FUNC=PING                       
09:47:40 CA-7.U7SVC-00  (OPSOSF  )  PROCESS COMPLETE  JOBSTEP=OPSOSF  , PROCSTE
09:47:40 OPS0997T >F>    0                                                     
09:47:40 OPS0997T >>>    Z=0                                                   
09:47:40 OPS0997T *-* 19:SAY 'RCODE = 'RC                                      
09:47:40 OPS0997T >L>    RCODE =                                               
09:47:40 OPS0997T >V>    RC                                                    
09:47:40 OPS0997T >O>    RCODE = RC                                            
09:47:40 OPS3092J RCODE = RC                                                   
09:47:40 OPS0996J RCODE = RC                                                   
09:47:40 OPS0997T *-* 20:  SAY 'Z = 'Z                                         
09:47:40 OPS0997T >L>    Z =                                                   
09:47:40 OPS0997T >V>    0                                                     
09:47:40 OPS0997T >O>    Z = 0                                                 
09:47:40 OPS3092J Z = 0                                                        
09:47:40 OPS0996J Z = 0                                                        
09:47:40 OPS0997T *-* 21:  DO QUEUED()                                         
09:47:40 OPS0997T >F>    0                                                     
09:47:40 OPS0997T *-* 25:EXIT                                                                                             


Environment

OPS/MVS

Resolution

The OPSCA7 function does not return any data. An alternative can be using the ADDRESS CA7 interface which requires the GSSA functions.

See the link below for details:

Integrating with CA 7