Package zowe.client.sdk.zostso.method
Class IssueTso
- java.lang.Object
-
- zowe.client.sdk.zostso.method.IssueTso
-
public class IssueTso extends Object
Issue tso command via z/OSMF restful api- Version:
- 4.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description IssueTso(ZosConnection connection, String accountNumber)IssueTso constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>issueCommand(String command)Issue TSO command API call to process the given command via z/OSMF restful apiList<String>issueCommand(String command, StartTsoInputData startTsoData)Issue TSO command API call to process the given command via z/OSMF restful with given custom parameters for the start TSO session call
-
-
-
Constructor Detail
-
IssueTso
public IssueTso(ZosConnection connection, String accountNumber)
IssueTso constructor- Parameters:
connection- ZosConnection objectaccountNumber- account number for tso processing
-
-
Method Detail
-
issueCommand
public List<String> issueCommand(String command) throws ZosmfRequestException
Issue TSO command API call to process the given command via z/OSMF restful api- Parameters:
command- tso command string- Returns:
- list of all tso returned messages
- Throws:
ZosmfRequestException- request error state
-
issueCommand
public List<String> issueCommand(String command, StartTsoInputData startTsoData) throws ZosmfRequestException
Issue TSO command API call to process the given command via z/OSMF restful with given custom parameters for the start TSO session call- Parameters:
command- tso command stringstartTsoData- start TSO request inputs parameters- Returns:
- list of all tso returned messages
- Throws:
ZosmfRequestException- request error state
-
-