Package zowe.client.sdk.zostso.service
Class TsoSendService
- java.lang.Object
-
- zowe.client.sdk.zostso.service.TsoSendService
-
public class TsoSendService 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 TsoSendService(ZosConnection connection)TsoSendService 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
-
TsoSendService
public TsoSendService(ZosConnection connection)
TsoSendService 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 retrieve from start TSO requestcommand- tso command- Returns:
- response string representing the returned request payload
- Throws:
ZosmfRequestException- request error state
-
-