Package zowe.client.sdk.zostso.method
Class IssueTso
- java.lang.Object
-
- zowe.client.sdk.zostso.method.IssueTso
-
public class IssueTso extends Object
Class to handle issue command to TSO- Version:
- 4.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description IssueTso(ZosConnection connection)IssueTso constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IssueResponseissueCommand(String accountNumber, String command)API method to start a TSO address space, issue a command, collect responses until prompt is reached, and terminate the address space.IssueResponseissueCommand(String accountNumber, String command, StartTsoParams startParams)API method to start a TSO address space with provided parameters, issue a command, collect responses until the prompt is reached, and terminate the address space.
-
-
-
Constructor Detail
-
IssueTso
public IssueTso(ZosConnection connection)
IssueTso constructor- Parameters:
connection- connection information, see ZosConnection object
-
-
Method Detail
-
issueCommand
public IssueResponse issueCommand(String accountNumber, String command) throws ZosmfRequestException
API method to start a TSO address space, issue a command, collect responses until prompt is reached, and terminate the address space.- Parameters:
accountNumber- accounting info for Jobscommand- command text to issue to the TSO address space.- Returns:
- issue tso response, see IssueResponse object
- Throws:
ZosmfRequestException- request error state
-
issueCommand
public IssueResponse issueCommand(String accountNumber, String command, StartTsoParams startParams) throws ZosmfRequestException
API method to start a TSO address space with provided parameters, issue a command, collect responses until the prompt is reached, and terminate the address space.- Parameters:
accountNumber- accounting info for Jobscommand- command text to issue to the TSO address space.startParams- start tso parameters, see startParams object- Returns:
- issue tso response, see IssueResponse object
- Throws:
ZosmfRequestException- request error state
-
-