Package zostso

Class StartTso


  • public class StartTso
    extends Object
    Start TSO address space and receive servlet key
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • StartTso

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

      • start

        public StartStopResponses start​(String accountNumber,
                                        StartTsoParams params)
                                 throws Exception
        Start TSO address space with provided parameters.
        Parameters:
        accountNumber - this key of StartTsoParams required, because it cannot be default.
        params - optional object with required parameters, see StartTsoParams
        Returns:
        command response on resolve, @see IStartStopResponses
        Throws:
        Exception - error executing command
      • startCommon

        public ZosmfTsoResponse startCommon​(StartTsoParams commandParams)
                                     throws Exception
        Start TSO address space with provided parameters
        Parameters:
        commandParams - object with required parameters, see StartTsoParams
        Returns:
        z/OSMF response object, see ZosmfTsoResponse
        Throws:
        Exception - error executing command