Class IssueTsoCommand


  • public class IssueTsoCommand
    extends ZosConnection
    Class example to test tso command functionality.
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • IssueTsoCommand

        public IssueTsoCommand()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws Exception
        Main method defines z/OSMF host and user connection, and tso command parameters used for the example test.
        Parameters:
        args - for main not used
        Throws:
        Exception - error processing request
      • tsoConsoleCmdByIssue

        public static IssueResponse tsoConsoleCmdByIssue​(String accountNumber,
                                                         String cmd)
                                                  throws Exception
        Issue issueTsoCommand method from IssueTso class which will execute the given tso command
        Parameters:
        accountNumber - user's z/OSMF permission account number
        cmd - tso command to execute
        Returns:
        issue response object
        Throws:
        Exception - error processing request