Package | Description |
---|---|
de.larssh.jes |
Handling of z/OS JES spools using Java technologies
|
Modifier and Type | Class and Description |
---|---|
class |
JesLimitReachedException
Thrown to indicate that a JES limit has been reached and contains the job
entries up to the specified JES limit.
|
Modifier and Type | Method and Description |
---|---|
void |
JesClient.delete(Job job)
Removes a given
job from JES spool. |
void |
JesClient.enterJesMode()
Enters the IBM z/OS FTP servers JES file type mode using a SITE command.
|
boolean |
JesClient.exists(Job job,
JobStatus status)
Reloads the job from server and returns
true if the job is still
available and matches the given job status. |
Optional<Job> |
JesClient.getJobDetails(Job job)
Retrieves up-to-date job details for
job . |
Map<String,String> |
JesClient.getServerProperties()
Retrieves and parses a map of server properties, such as
"JESJOBNAME" , "JESSTATUS" , "JESOWNER" and
"INTERFACELEVEL" . |
List<Job> |
JesClient.list(String nameFilter)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status,
String ownerFilter)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status,
String ownerFilter,
int limit)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.listFilled(String nameFilter)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status,
String ownerFilter)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status,
String ownerFilter,
int limit)
Returns a list of all
Job objects matching the given filters. |
void |
JesClient.login(String username,
String password)
Shortcut method to perform a FTP login, set the internal JES owner and enter
JES mode.
|
String |
JesClient.retrieve(JobOutput jobOutput)
Retrieves the content of
jobOutput . |
Map<JobOutput,String> |
JesClient.retrieveOutputs(Job job)
Retrieves all job outputs of
job . |
protected void |
JesClient.setJesFilters(String nameFilter,
JobStatus status,
String ownerFilter,
int limit)
Sends
FTPCmd.SITE commands to set the
given filter values. |
Job |
JesClient.submit(String jclContent)
Submits the given JCL and returns a related
Job object containing the
started jobs ID. |
boolean |
JesClient.waitFor(Job job,
Duration waiting,
Duration timeout)
Waits for
job to be finished using Thread#sleep(long) for
waiting between JesClient.exists(Job, JobStatus) calls and timing out after a
given duration. |
boolean |
JesClient.waitFor(Job job,
Duration waiting,
Duration timeout,
Consumer<Duration> wait)
Waits for
job to be finished using wait for waiting between
JesClient.exists(Job, JobStatus) calls and timing out after a given duration. |
Constructor and Description |
---|
JesClient(String hostname,
int port,
String username,
String password)
Simplified constructor.
|
Copyright © 2025. All rights reserved.