Package zostso

Class StopTso


  • public class StopTso
    extends Object
    Stop active TSO address space using servlet key
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • StopTso

        public StopTso​(ZOSConnection connection)
        StopTso constructor
        Parameters:
        connection - connection information, see ZOSConnection object
    • Method Detail

      • stopCommon

        public ZosmfTsoResponse stopCommon​(StopTsoParams commandParams)
                                    throws Exception
        Sends REST call to z/OSMF for stopping active TSO address space
        Parameters:
        commandParams - command parameters, see commandParams object
        Returns:
        z/OSMF response object, see ZosmfTsoResponse object
        Throws:
        Exception - error on TSO sto command
      • stop

        public StartStopResponse stop​(String servletKey)
                               throws Exception
        Stop TSO address space and populates response with StartStopResponse, @see StartStopResponse
        Parameters:
        servletKey - unique servlet entry identifier
        Returns:
        start stop response, see StartStopResponse object
        Throws:
        Exception - error on TSO sto command