Package dev.galasa.zosbatch
Annotation Interface ZosBatch
z/OS Batch
- Annotation:
- Description:
- The
@ZosBatchannotation requests the z/OS Manager to provide a z/OS Batch instance associated with a z/OS image. The test can request multiple z/OS Batch instances, with the default being associated with the primary zOS image.
At test end, the Manager stores the job output with the test results archive and removes jobs from the JES queue. - Examples:
- @ZosImage(imageTag="A")
public IZosImage zosImageA;
@ZosBatch(imageTag="A")
public IZosBatch zosBatchA; - Extra:
- The
IZosBatchinterface has the methodIZosBatch.submitJob(String, IZosBatchJobname)to submit a JCL as aStringand returns aIZosBatchJobinstance. The Manager generates the JOB statement, so the JCL must not include one.
To submit JCL that already contains its own JOB statement, useIZosBatch.submitJobWithSuppliedJobcard(String).
SeeZosBatch,IZosBatchandIZosBatchJobto find out more.
-
Optional Element Summary
Optional Elements
-
Element Details
-
imageTag
String imageTagTheimageTagis used to identify the z/OS image.- Default:
- "primary"
-