System Operator Message Queue in AS400

System Operator Message Queue
System Operator Message Queue in AS400, system operator message queu, QSYSOPR, qsysopr message queue, qsysopr msgq, msgq, message queue, types of message queue, types of msgq, introduction, about, how, what, what is, as400, ibmi
System Operator Message Queue in AS400
>

System Operator Message Queue

System Operator Message Queue (QSYSOPR) is used for receiving and replying to messages from the system, workstation users, and programs.

                               Work with Objects                                
                                                                                
 Type options, press Enter.                                                     
   2=Edit authority        3=Copy   4=Delete   5=Display authority   7=Rename   
   8=Display description   13=Change description                                
                                                                                
 Opt  Object      Type      Library     Attribute   Text                        
      QSYSOPR     *MSGQ     QSYS                    System operator message que 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                         Bottom 
 Parameters for options 5, 7 and 13 or command                                  
 ===> wrkobj qsysopr________________________________________________________                                                            
 F3=Exit   F4=Prompt   F5=Refresh   F9=Retrieve   F11=Display names and types   
 F12=Cancel   F16=Repeat position to   F17=Position to                          
 

Example for sending a message to the System Operator(QSYSOPR) Message queue

Specify *SYSOPR in the TOUSR parameter.

SNDMSG MSG('Hello This is AS400andSQLTricks.com') TOUSR(*SYSOPR)

To see the messages received at the QSYSOPR message queue. Use the following command

DSPMSG MSGQ(*SYSOPR)
                                Display Messages               
                                                       System: 
 Queue . . . . . :   QSYSOPR                 Program . . . . : 
   Library . . . :     QSYS                    Library . . . : 
 Severity  . . . :   99                      Delivery  . . . : 
                                                               
 Type reply (if required), press Enter.                        
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   Active subsystem description QBATCH3 in QSYS changed.       
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   Job message queue for 364347/QUSER/QZRCSRVS has been wrapped
   Subsystem QINTER2 varied off work station QPAD113945 for use
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   Job message queue for 340582/JOBMANAGER/QSECURITY has been w
   DSPLY  49.228.99.167                                        
   DSPLY  49.228.99.167                                        
   From  . . . :   EASYCLASS      12/21/21   11:58:59          
   Hello This is AS400andSQLTricks.com                         
                                                               

Related Post

Post a Comment

© AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain