IJobFacility2 instead.@Deprecated
public interface IJobFacility
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancelJob(ISystemImage pImg,
java.lang.String pJobId)
Deprecated.
Cancels a running job.
|
java.io.InputStream |
getJobContents(ISystemImage pImg,
java.lang.String pJobId)
Deprecated.
Returns the output of a job.
|
java.io.InputStream |
getJobContents(ISystemImage pImg,
java.lang.String pJobId,
java.lang.String pDDName,
java.lang.String pJobPartDsn)
Deprecated.
Returns the output of a job part.
|
java.util.List<IJobPart> |
getJobDDs(ISystemImage pImg,
IJob pJob)
Deprecated.
Obtains a list of
IJobParts for the given job ID. |
java.util.List<IJob> |
getJobs(ISystemImage pImg,
java.lang.String pJobNameFilter,
java.lang.String pOwner)
Deprecated.
Returns all jobs that match the given filter criteria.
|
java.util.List<IJob> |
getJobsByJobID(ISystemImage pImg,
java.lang.String pJobIDFilter,
java.lang.String pOwner)
Deprecated.
Returns all jobs that match the given filter criteria.
|
java.lang.String |
purgeJob(ISystemImage pImg,
java.lang.String pJobId)
Deprecated.
Purges a job on the mainframe.
|
java.lang.String |
submitJob(ISystemImage pImg,
java.io.InputStream pIs,
org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
Submits a Job from the given input stream.
|
java.lang.String |
submitJob(ISystemImage pImg,
java.lang.String pMember,
java.lang.String pDataset)
Deprecated.
Submits a job from a data set or member.
|
java.lang.String submitJob(ISystemImage pImg, java.lang.String pMember, java.lang.String pDataset) throws java.lang.Exception
pImg - an ISystemImagepMember - can be null (for sequential data sets)pDataset - a data set namejava.lang.Exception - if an Exception occurs during sending the commandjava.util.List<IJob> getJobs(ISystemImage pImg, java.lang.String pJobNameFilter, java.lang.String pOwner) throws java.lang.Exception
pImg - an ISystemImagepJobNameFilter - 1-8 characters, * and ? allowedpOwner - 1-8 characters, * and ? allowedIJobs (can be empty)java.lang.Exception - if an Exception occurs during sending the command or parsing
the responsejava.util.List<IJob> getJobsByJobID(ISystemImage pImg, java.lang.String pJobIDFilter, java.lang.String pOwner) throws java.lang.Exception
pImg - an ISystemImagepJobIDFilter - 1-8 characters, * and ? allowedpOwner - 1-8 characters, * and ? allowedIJobs (can be empty)java.lang.Exception - if an Exception occurs during sending the command or parsing
the responsejava.io.InputStream getJobContents(ISystemImage pImg, java.lang.String pJobId, java.lang.String pDDName, java.lang.String pJobPartDsn) throws java.lang.Exception
pImg - an ISystemImagepJobId - the ID of an existing jobpDDName - the DDName (job part name) of the desired job partpJobPartDsn - the DSN of the desired job part. Optional, if a unique DDName
is givenjava.lang.Exception - if an Exception occurs during sending the command or parsing
the responsegetJobContents(ISystemImage,String)java.io.InputStream getJobContents(ISystemImage pImg, java.lang.String pJobId) throws java.lang.Exception
pImg - an ISystemImagepJobId - the ID of an existing jobjava.lang.Exception - if an Exception occurs during sending the command or parsing
the responsejava.lang.String cancelJob(ISystemImage pImg, java.lang.String pJobId) throws java.lang.Exception
pImg - an ISystemImagepJobId - the ID of a running jobnull if the server
doesn't return any messagejava.lang.Exception - if an Exception occurs during sending the command or parsing
the responsejava.lang.String purgeJob(ISystemImage pImg, java.lang.String pJobId) throws java.io.IOException
pImg - an ISystemImagepJobId - the ID of the job to purgenull if the server does
not return any messagejava.io.IOException - if any unexpected exception occursjava.util.List<IJobPart> getJobDDs(ISystemImage pImg, IJob pJob) throws java.lang.Exception
IJobParts for the given job ID.pImg - an ISystemImagepJob - the existing jobIJobParts (can be empty)java.lang.Exception - if an Exception occurs during sending the command or parsing
the responsejava.lang.String submitJob(ISystemImage pImg, java.io.InputStream pIs, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.lang.Exception
pImg - The ISystemImagepIs - the input stream, containing the JCLpMon - an IProgressmonitorjava.lang.Exception - if an Exception occurs during sending the commandCopyright © 2015 Micro Focus GmbH. All rights reserved.