Class IssueCommand


  • public class IssueCommand
    extends ZosConnection
    Class example to showcase mvs console command functionality.
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • IssueCommand

        public IssueCommand()
    • Method Detail

      • main

        public static void main​(String[] args)
        Main method defines z/OSMF host and user connection, and mvs command used for the example test.
        Parameters:
        args - for main not used
      • consoleCmdByIssue

        public static void consoleCmdByIssue​(ZOSConnection connection,
                                             String cmd)
        Issue IssueCommend issue method which will execute the given mvs console command
        Parameters:
        connection - connection information, see ZOSConnection object
        cmd - mvs command to execute
      • consoleCmdByIssueSimple

        public static void consoleCmdByIssueSimple​(ZOSConnection connection,
                                                   String cmd)
        Issue IssueCommend issueSimple method which will execute the given mvs console command
        Parameters:
        connection - connection information, see ZOSConnection object
        cmd - mvs command to execute
      • consoleCmdByIssueDefConsoleCommon

        public static void consoleCmdByIssueDefConsoleCommon​(ZOSConnection connection,
                                                             String cmd)
        Issue IssueCommend issueDefConsoleCommon method which will execute the given mvs console command
        Parameters:
        connection - connection information, see ZOSConnection object
        cmd - mvs command to execute