Class ZosLog


  • public class ZosLog
    extends Object
    Get z/OS log via z/OSMF restful api
    Version:
    2.0
    Author:
    Frank Giordano
    • Constructor Detail

      • ZosLog

        public ZosLog​(ZosConnection connection)
        GetZosLog constructor
        Parameters:
        connection - connection information, see ZosConnection object
      • ZosLog

        public ZosLog​(ZosConnection connection,
                      ZoweRequest request)
               throws Exception
        Alternative GetZosLog constructor with ZoweRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.
        Parameters:
        connection - connection information, see ZosConnection object
        request - any compatible ZoweRequest Interface object
        Throws:
        Exception - processing error
    • Method Detail

      • issueCommand

        public ZosLogReply issueCommand​(ZosLogParams params)
                                 throws Exception
        Issue a z/OSMF log command, returns "raw" z/OSMF response.

        If API fails you may be missing APAR see PH35930 required for log operations.

        Parameters:
        params - ZosLogParams object
        Returns:
        ZosLogReply object with log messages/items
        Throws:
        Exception - processing error