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 - ZOSConnection object
    • Method Detail

      • stopCommon

        public ZosmfTsoResponse stopCommon​(StopTsoParms commandParms)
                                    throws Exception
        Sends REST call to z/OSMF for stoping active TSO address space
        Parameters:
        commandParms - Object with required parameters, @see StopTsoParms
        Returns:
        ZosmfTsoResponse z/OSMF response object, @see ZosmfTsoResponse
        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 - A string containing a unique servlet entry identifier
        Returns:
        StartStopResponse A StartStopResponse object, @see StartStopResponse
        Throws:
        Exception - error on TSO sto command