Package zostso
Class SendTso
- java.lang.Object
-
- zostso.SendTso
-
public class SendTso extends Object
Class to handle sending data to TSO- Version:
- 1.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description SendTso(ZOSConnection connection)SendTso constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectedResponsesgetAllResponses(ZosmfTsoResponse tso)Collects responses from address space until it reaches promptSendResponsesendDataToTSOCollect(String servletKey, String command)API method to send data to already started TSO address space, but will read TSO data until a PROMPT is reached.ZosmfTsoResponsesendDataToTSOCommon(SendTsoParams commandParams)API method to send data to already started TSO address space
-
-
-
Constructor Detail
-
SendTso
public SendTso(ZOSConnection connection)
SendTso constructor- Parameters:
connection- connection information, see ZOSConnection object
-
-
Method Detail
-
sendDataToTSOCollect
public SendResponse sendDataToTSOCollect(String servletKey, String command) throws Exception
API method to send data to already started TSO address space, but will read TSO data until a PROMPT is reached.- Parameters:
command- to send to the TSO address space.servletKey- returned from a successful start- Returns:
- response object, see ISendResponse
- Throws:
Exception- error executing command
-
sendDataToTSOCommon
public ZosmfTsoResponse sendDataToTSOCommon(SendTsoParams commandParams) throws Exception
API method to send data to already started TSO address space- Parameters:
commandParams- object with required parameters, see SendTsoParams object- Returns:
- response object, see ZosmfTsoResponse
- Throws:
Exception- error executing command
-
getAllResponses
public CollectedResponses getAllResponses(ZosmfTsoResponse tso) throws Exception
Collects responses from address space until it reaches prompt- Parameters:
tso- object from first Tso response from witch responses are needed, see ZosmfTsoResponse- Returns:
- CollectedResponses response object, see CollectedResponses
- Throws:
Exception- error executing command
-
-