42 Java Stand-alone Applications on z/OS Volume II
3.4 Console communication with batch jobs
It is a common practice to use the Write-To-Operator (WTO) macro by running
programs (jobs) to write messages to the job log and system console. The macro
is typically used to report the status of the program. For instance, it is used to
record events whenever failure occurs in a long-running job. Based on the
messages, the operator can decide to take appropriate actions to resolve the
problems. Under such circumstances or whenever the operator needs to interact
with the job, it is common to use the MVS stop (P) command to stop the running
job, or use the MVS modify (F) command to send arbitrary commands to change
the behavior of the job. Running jobs ...