Controlling heterogeneous systems

Tivoli Workload Scheduler for z/OS provides open interfaces to let you submit the workload to and report status from any operating environment that can establish communication with z/OS.

When an operation on a workstation that specifies a user-defined destination ID is ready to be started, Tivoli Workload Scheduler for z/OS calls the operation-initiation exit, EQQUX009. The exit is called for operations on computer workstations that have satisfied the normal Tivoli Workload Scheduler for z/OS submission criteria for job or started-task operations. The exit is passed information about the operation to be started, the destination on which it should be started and, if available, any JCL equivalent information from the Tivoli Workload Scheduler for z/OS job library (EQQJBLIB) or the job-setup file (EQQJSxDS).

The exit is responsible for transmitting the required data to the target destination. There are several methods available to transmit data to the various operating environments and to report the status of the operation back to the controller. For example you could use APPC/MVS, TCP/IP, or NetView® FTP. One of the sample exits provided uses TCP/IP to communicate commands to an OS/2 environment.

The SEQQSAMP sample library contains samples that show how you can use Tivoli Workload Scheduler for z/OS to communicate with heterogeneous systems.

Appendix C. Sample library (SEQQSAMP) contains descriptions of all samples distributed with Tivoli Workload Scheduler for z/OS.

Status reporting for operations at user-defined destinations is achieved by using the OPSTAT command in native TSO, in a CLIST or REXX EXEC, or in SYSIN to the EQQEVPGM program, or by invoking the EQQUSIN or EQQUSINT subroutine.

Workstations that specify a user-defined destination are initialized to unknown status when the controller is started. The installation is responsible for setting the workstation to active status. Status reporting for the workstation is achieved by using the WSSTAT command in native TSO, in a CLIST or REXX EXEC, or in SYSIN to the EQQEVPGM program, or by invoking the EQQUSIN or EQQUSINW subroutine. The logic to set the workstation status to active should not be in EQQUX009 because the exit will never be called when the status is offline.

You should consider using the start/stop exit EQQUX000 to set workstation status for user-defined destinations. The sample library member EQQUX0N calls the EQQUSINW subroutine to set the status of a workstation. See Start or stop exit for more information about the EQQUX0N sample.