Submitting jobs from an external job scheduler
We can submit jobs from an external job scheduler to batch using the WSGrid utility.
Set up the external scheduler interface.
If an external interface is configured to use the default messaging system, we can use the WSGrid command line script to submit a job to the job scheduler.
If an external interface is configured to use the default messaging system, we can use the WSGrid command line script or JZOS Batch Toolkit for z/OS SDKs to submit a job to the job scheduler. If an external interface is configured to use WebSphere MQ, we can use JCL to submit a job to the scheduler.
- If an external interface is configured to use the default messaging system, use the WSGrid.sh|bat command-line script to submit a job to the scheduler.
- Prepare the job properties file and the control properties file to use as input for WSGrid.sh|bat.
- Run the WSGrid.sh|bat script located in the app_install_root/stack_products/WCG/bin directory.
- If an external interface is configured to use the default messaging system, use JZOS Batch Toolkit for z/OS SDKs to submit the job to the scheduler using the WSGrid utility.
- Update the relevant fields in the WSGrid JCL template to use with JZOS Batch Toolkit for z/OS SDKs.
- Enter the z/OS submit command to submit the JCL.
- If an external interface is configured to use WebSphere MQ, use JCL to submit a job to the scheduler.
- Update the relevant fields in the WSGrid job template.
- Enter the submit command to submit the JCL.
Results
You have submitted a job from an external job scheduler to batch using the WSGrid utility.
What to do next
Review the output of the WSGrid utility.
Subtopics
- WSGrid command-line utility
The WSGrid utility is a client application of the job scheduler message-driven interface. Use the WSGrid utility to facilitate control of WebSphere batch jobs by external workload schedulers, such as Tivoli Workload Scheduler.
- WSGrid job template
The WSGrid job template is an input to the WSGrid utility. The template contains the properties that the WSGrid utility uses to interact with a batch job.
- WSGrid JCL template to use with JZOS Batch Toolkit for z/OS SDKs
The WSGrid job template is an input to the WSGrid utility. Use the WSGrid utility to submit a job to the batch scheduler that has an external interface configured to use the default messaging system. Use the template with JZOS Batch Toolkit for z/OS software development kits.
- Batch job properties
Use the WSGrid command-line utility to facilitate control of WebSphere batch jobs by external workload schedulers such as the Tivoli Workload Scheduler. We can use these job properties to describe any job type.
Related concepts
Integration of an external workload scheduler to manage batch workloads
Related tasks
Set up the external scheduler interface using the default messaging provider
Set up the external scheduler interface using WebSphere MQ Configure the job scheduler Secure the job scheduler using roles Configure the external scheduler interface
Example: Jobs from repository properties file Example: Compute-intensive properties file Example: Transactional batch properties file