|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.subsystems.qsys.commands.InteractiveJob
public class InteractiveJob
This class encapsulates the functions for the interactive job support. The class is used by the CmdSubSystemImpl to invoke the interactive job functions. Architecture: Each command is sent to the Command Miner and then passed on to the interactive job's processing program (STRRSESVR). Once the command gets to the miner the miner generates a positive 4 byte integer and assigns it to the command. There are two ways to exit the STRRSESVR, either by selecting "Release Interactive Job" from the popup menu for an iSeries subsystem or by ending the STRRSESVR command with ENDRQS. In the first case the CommandMiner sends an exit message to the STRRSESVR command which handles cleanup (deleting the data queue.) In the latter case the STRRSESVR command sends an EXIT message to the CommandMiner and the CommandMiner handles cleanup.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
InteractiveJob(String jobName,
String queueName,
QSYSCommandSubSystem subsystem,
QSYSCommandService service)
Constructor |
Method Summary | |
---|---|
int |
getCurrentRequestCount()
Return the number of outstanding commands to be run in the interactive job. |
String |
getDataQName()
Get the data queue name for the interactive job |
String |
getJobName()
Get the job name for the interactive job |
JobTicket |
getJobTicket()
Get the JobTicket for the associated interactive job. |
Shell |
getShell()
|
boolean |
isInteractiveJobBusy()
Check if the interactive job is currently busy processing a command. |
boolean |
releaseInteractiveJob()
Releases the interactive job. |
Object[] |
runCommand(String command)
Run an interactive iSeries QSYS command (vs QSHELL). |
void |
setJobTicket(JobTicket ticket)
Set the JobTicket for the associated interactive job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public InteractiveJob(String jobName, String queueName, QSYSCommandSubSystem subsystem, QSYSCommandService service)
Method Detail |
---|
public int getCurrentRequestCount()
public boolean isInteractiveJobBusy()
getCurrentRequestCount() != 0
public Object[] runCommand(String command)
command
- The command to be run.
#isInteractiveJobAvailable()
public boolean releaseInteractiveJob()
public String getJobName()
public String getDataQName()
public Shell getShell()
public JobTicket getJobTicket()
public void setJobTicket(JobTicket ticket)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |