Package zostso
Class IssueTso
- java.lang.Object
-
- zostso.IssueTso
-
public class IssueTso extends Object
Class to handle issue command to TSO- Version:
- 1.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 IssueResponseissueTsoCommand(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.IssueResponseissueTsoCommand(String accountNumber, String command, StartTsoParams startParams)API method to start a TSO address space with provided parameters, issue a command, collect responses until prompt is reached, and terminate the address space.
-
-
-
Constructor Detail
-
IssueTso
public IssueTso(ZOSConnection connection)
IssueTso constructor- Parameters:
connection- ZOSConnection object
-
-
Method Detail
-
issueTsoCommand
public IssueResponse issueTsoCommand(String accountNumber, String command) throws Exception
API method to start a TSO address space, issue a command, collect responses until prompt is reached, and terminate the address space.- Parameters:
accountNumber- - A string containing accounting info for Jobscommand- - A string containing a command text to issue to the TSO address space.- Returns:
- IssueResponse IssueTso response object, @see IssueResponse
- Throws:
Exception- error executing command
-
issueTsoCommand
public IssueResponse issueTsoCommand(String accountNumber, String command, StartTsoParams startParams) throws Exception
API method to start a TSO address space with provided parameters, issue a command, collect responses until prompt is reached, and terminate the address space.- Parameters:
accountNumber- - A string containing accounting info for Jobscommand- - A string containing a command text to issue to the TSO address space.startParams- - object with required parameters, @see startParams- Returns:
- IssueResponse IssueTso response object, @see IssueResponse
- Throws:
Exception- error executing command
-
-