Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.api
Class QSYSRSEInteractiveJob

java.lang.Object
  extended by com.ibm.etools.iseries.subsystems.qsys.api.QSYSRSEInteractiveJob

public class QSYSRSEInteractiveJob
extends Object

This class represents an interactive job associated with an RSE iSeries connection. In addition to the job attributes available from the ISeriesJob superclass this class provides API's for running commands / programs in the interactive job.


Field Summary
static String copyright
           
 
Constructor Summary
QSYSRSEInteractiveJob(IQSYSJob job, IBMiConnection connection)
          ISeriesRSEInteractiveJob constructor
 
Method Summary
 String getFullJobName()
          Return the fully qualified iSeries job name in the format: jobNumber/userName/jobName
 String getFullJobNameInReverseOrder()
          Return the fully qualified iSeries job name in the format: jobNumber/userName/jobName
 SystemMessage runCommand(String command)
          Run the specified command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

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

QSYSRSEInteractiveJob

public QSYSRSEInteractiveJob(IQSYSJob job,
                             IBMiConnection connection)
ISeriesRSEInteractiveJob constructor

Method Detail

runCommand

public SystemMessage runCommand(String command)
Run the specified command.

Parameters:
command, - The command to be run in the interactive job.
Returns:
SystemMessage indicating the status of the command. The message ID will be either:

  • EVFM1010I : No interactive job available
  • EVFM1005I : Command sent to interactive job

getFullJobName

public String getFullJobName()
Return the fully qualified iSeries job name in the format: jobNumber/userName/jobName

Same as getAbsoluteName().


getFullJobNameInReverseOrder

public String getFullJobNameInReverseOrder()
Return the fully qualified iSeries job name in the format: jobNumber/userName/jobName

Same as getAbsoluteName().


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.