Package zowe.client.sdk.zostso.methods
Class TsoSend
- java.lang.Object
-
- zowe.client.sdk.zostso.methods.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 Summary
Constructors Constructor Description TsoSend(ZosConnection connection)TsoSend constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringsendCommand(String sessionId, String command)Make the second request to send TSO the command to perform via z/OSMF
-
-
-
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 requestcommand- tso command- Returns:
- response string representing the returned request payload
- Throws:
ZosmfRequestException- request error state
-
-