com.ibm.ftt.rse.mvs.client.tso.utils
Class TSOCommandProcessor

java.lang.Object
  extended by com.ibm.ftt.rse.mvs.client.tso.utils.TSOCommandProcessor

public class TSOCommandProcessor
extends Object

A utility class for sending TSO commands to a host system and retrieving the results.


Field Summary
static String COPY_RIGHT
           
 
Constructor Summary
TSOCommandProcessor()
          Constructor for TSOCommandProcessor.
 
Method Summary
 String tsoCommand(ZOSSystemImage system, String commandString, org.eclipse.core.runtime.IProgressMonitor monitor)
          Executes a TSO command on the specified host system and returns a string of results (or null) if errors occur.
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values
Constructor Detail

TSOCommandProcessor

public TSOCommandProcessor()
Constructor for TSOCommandProcessor.

Method Detail

tsoCommand

public String tsoCommand(ZOSSystemImage system,
                         String commandString,
                         org.eclipse.core.runtime.IProgressMonitor monitor)
Executes a TSO command on the specified host system and returns a string of results (or null) if errors occur.

Parameters:
system - The host system on which to execute the command
commandString - The TSO command to be sent.
monitor - An IProgressMonitor for reporting progress.
Returns:
result A (possibly empty) string containing the results of the command or null if errors occur.