Class ZosLog


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

      • ZosLog

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

      • issueCommand

        public ZosLogReply issueCommand​(ZosLogParams params)
                                 throws ZosmfRequestException
        Issue a z/OSMF log command and return log data.

        If the 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:
        ZosmfRequestException - request error state