Class TsoSend


  • public class TsoSend
    extends Object
    This class handles sending the TSO command to be performed via z/OSMF
    Version:
    5.0
    Author:
    Frank Giordano
    • Constructor Detail

      • TsoSend

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

      • sendCommand

        public String sendCommand​(String sessionId,
                                  String command)
                           throws ZosmfRequestException
        Make the second request to send TSO the command to perform via z/OSMF
        Parameters:
        sessionId - servletKey id retrieved from start TSO request
        command - tso command
        Returns:
        response string representing the returned request payload
        Throws:
        ZosmfRequestException - request error state