public class MvsJobOutput
extends java.lang.Object
The class relies on the sample Rexx script "jobOutput", spawned as a child process
via the Exec
class.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOB_OUTPUT_CMD |
Constructor and Description |
---|
MvsJobOutput() |
Modifier and Type | Method and Description |
---|---|
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_OUTPUT_CMD
public static void main(java.lang.String[] args) throws java.io.IOException
The first argument is the jobname, and the second argument is the jobid (JOBnnnnn).
java.io.IOException
public static void writeJobOutput(MvsJob mvsJob, java.io.Writer writer) throws java.io.IOException
java.io.IOException