Class TsoCmd


  • public class TsoCmd
    extends Object
    Issue tso command via z/OSMF restful api
    Version:
    5.0
    Author:
    Frank Giordano
    • Constructor Detail

      • TsoCmd

        public TsoCmd​(ZosConnection connection,
                      String accountNumber)
        TsoCmd constructor
        Parameters:
        connection - ZosConnection object
        accountNumber - 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 inputData)
                                  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 string
        inputData - start TSO request inputs parameters, see StartTsoInputData
        Returns:
        list of all tso returned messages
        Throws:
        ZosmfRequestException - request error state