public class MvsJobOutput
extends java.lang.Object
Exec
class.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOB_OUTPUT_CMD |
static java.lang.String |
JOB_STATUS_CMD |
Constructor and Description |
---|
MvsJobOutput() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getStatus(MvsJob job)
Returns the job status using the TSO "status" command, which
is invoked via the "jobStatus" REXX USS script.
|
static void |
main(java.lang.String[] args)
A sample main method that writes sysout output for
a job to System.out (STDOUT).
|
static void |
writeJobOutput(MvsJob mvsJob,
java.io.Writer writer)
Writes all of the output for a given job to a writer.
|
public static final java.lang.String JOB_STATUS_CMD
public static final java.lang.String JOB_OUTPUT_CMD
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static java.lang.String getStatus(MvsJob job) throws java.io.IOException
java.io.IOException
- if there was an error communicating with the child REXX script processpublic static void writeJobOutput(MvsJob mvsJob, java.io.Writer writer) throws java.io.IOException
java.io.IOException