ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

QManager Status Info

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QManager Status Info

    Is there any way to obtain:

    1) The list of the existing Qmanager ?

    2) The Status of each QManager ?

    If i'm using the
    WRKMQM command i have this output:

    Code:
     [FONT=courier new]    Work with queue managers                          AS400TEST
                                                                 27/06/18  17:34:25
     Type options, press Enter.                                                    
       2=Change   4=Delete   5=Display   8=Status     14=Start   15=End            
       18=Work with Queues   19=Work with Processes   20=Work with Channels ...    
    
     Opt  Name                                                   Status  Default   
          QMGR10                                                 ACTIVE    YES     
          QMGR20                                                 ACTIVE    YES     
          QMGR30                                                 ACTIVE    YES     [/FONT]


    I'd like to have this two different informations (the list of all Qmanager and the status of each one) as a return variables so tath i can use the informations in a program ..

    I've searched in the API catalogue but without success..

    Any help is appreciated..

    Paolo.
Working...
X