JMON - Job Monitor
JMON (Job Monitor) is a component of IBM Developer for z/OS (IDz) and IBM Z Open Development (IZOD) that provides real-time monitoring and control capabilities for z/OS batch jobs and started tasks. It acts as a crucial bridge between the client-side integrated development environment (IDE) on a distributed workstation and the z/OS system, enabling developers and operators to interact with the Job Entry Subsystem (JES).
Key Characteristics
-
- Client-Server Architecture: JMON runs as a started task or a component within the RSE (Remote System Explorer) daemon on z/OS, communicating with the IDz/IZOD client on a developer's workstation.
- Real-time Job Status: Provides immediate updates on the status of submitted jobs (e.g.,
ACTIVE,WAITING,EXECUTING,COMPLETED,FAILED) without requiring traditional green-screen access. - Job Control Operations: Allows users to perform actions such as
CANCEL,HOLD,RELEASE, andPURGEon jobs directly from the IDE interface, subject to z/OS security authorizations. - Spool File Access: Enables direct viewing and retrieval of
SYSOUT(job logs,DDoutputs) generated by batch jobs, facilitating debugging and verification. - Integration with IDE: Tightly integrated with the IDz/IZOD workbench, offering a graphical, user-friendly interface for job management that abstracts complex JES commands.
- Security Context: Operates under the security context of the connected user, leveraging z/OS security managers (like
RACF,ACF2,Top Secret) to enforce access control to jobs and resources.
Use Cases
-
- Batch Job Development & Debugging: Developers submit COBOL, PL/I, or Assembler batch jobs from their IDE, monitor their execution, and review
SYSOUTfor errors or expected results during the development and testing phases. - Production Support & Operations: Operations teams or support personnel can use IDz/IZOD with JMON to quickly check the status of critical production batch jobs, identify bottlenecks, and intervene (e.g., cancel a looping job) if necessary.
- Automated Testing Integration: In automated testing pipelines, JMON can be leveraged to programmatically check for job completion, retrieve specific
SYSOUTfor assertion validation, and ensure test data processing is successful. - Training and Onboarding: Provides a modern, intuitive interface for new mainframe developers or those transitioning from distributed platforms to understand and interact with z/OS batch processing without extensive
TSO/ISPForSDSFknowledge.
- Batch Job Development & Debugging: Developers submit COBOL, PL/I, or Assembler batch jobs from their IDE, monitor their execution, and review
Related Concepts
JMON functions as a modern interface to the z/OS JES (Job Entry Subsystem) (either JES2 or JES3), which is responsible for managing job queues, scheduling, and SYSOUT processing. It doesn't replace JES but provides a remote, graphical means to interact with its capabilities, traditionally accessed via TSO/ISPF or SDSF. JMON is a core component of IBM Developer for z/OS (IDz), enabling the remote development experience by bridging the workstation IDE with mainframe resources. It relies heavily on z/OS security managers (e.g., RACF) to authorize user actions on jobs and access to SYSOUT datasets.
- Secure Configuration: Ensure JMON is configured with appropriate z/OS security profiles (e.g.,
RACFprofiles inOPERCMDSorFACILITYclasses) to restrict who can monitor, hold, or cancel jobs, adhering to the principle of least privilege. - Resource Monitoring: Regularly monitor JMON's resource consumption (CPU, memory) on the z/OS LPAR to ensure it does not negatively impact system performance, especially in environments with high job submission rates.
- Version Compatibility: Maintain compatibility between the JMON component on z/OS and the IDz/IZOD client version on the workstation to prevent connectivity issues, unexpected behavior, or missing features.
- Firewall Rules: Ensure that necessary network ports (typically the RSE daemon port and potentially a dynamically assigned JMON port, or a configured static port) are open in firewalls between the client workstation and the z/OS LPAR.
- Logging and Auditing: Configure JMON with sufficient logging levels to capture relevant activity for auditing purposes, troubleshooting, and security incident analysis.