How to get info shown on OPSVIEW 4.1.5 using REXX
search cancel

How to get info shown on OPSVIEW 4.1.5 using REXX

book

Article ID: 384020

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Is it possible to get info about active modules used by OPS/MVS using REXX. For reference this information is available on OPSVIEW 4.1.5. 

Resolution

Using OPSPRM function should be possible to get information shown on OPSVIEW 4.1.5, below are samples of REXX. 

1. For the one module. 

RetCode = OPSPRM("SHOW","OPVASRBK","INFO")
Do While QUEUED() > 0
Pull data
Say data
End

2. Below one to list all modules.

RetCode = OPSPRM("SHOW","PRODMODULES","INFO") 
do Queued()                             
Pull line                             
Say line                              
End      

Additional Information

Link to the doc for more info about OPSPRM function.