com.ibm.jtopenlite.components

Class ListQSYSOPRMessages

  • java.lang.Object
    • com.ibm.jtopenlite.components.ListQSYSOPRMessages


  • public class ListQSYSOPRMessages
    extends java.lang.Object
    Represents the information returned by the DSPMSG QSYSOPR command, but uses the OpenListOfMessages classes to obtain it.
    • Constructor Detail

      • ListQSYSOPRMessages

        public ListQSYSOPRMessages()
    • Method Detail

      • getMessages

        public MessageInfo[] getMessages(CommandConnection conn)
                                  throws java.io.IOException
        Returns an array of messages, sorted by time, the way DSPMSG does. MessageInfo.toString() prints the message ID and text; MessageInfo.toString2() prints the message details the way F1 on a message does.
        Parameters:
        conn - The connection to use.
        Throws:
        java.io.IOException