IssueTso

class IssueTso(var connection: ZOSConnection, var httpClient: OkHttpClient = UnsafeOkHttpClient.unsafeOkHttpClient)

Class to handle issue command to TSO

Constructors

Link copied to clipboard
fun IssueTso(connection: ZOSConnection, httpClient: OkHttpClient = UnsafeOkHttpClient.unsafeOkHttpClient)

Functions

Link copied to clipboard
fun issueTsoCommand(accountNumber: String, command: String): IssueResponse

API method to start a TSO address space, issue a command, collect responses until prompt is reached, and terminate the address space.

fun issueTsoCommand(accountNumber: String, command: String, startParams: StartTsoParams): IssueResponse

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.

Properties

Link copied to clipboard
Link copied to clipboard
var httpClient: OkHttpClient
Link copied to clipboard
var response: Response<*>? = null