This case study outlines a strategic initiative to modernize and optimize the Order Management System (OMS) batch processing for a leading wholesale supply chain services provider in the U.S. The project aims to replace legacy AS400/Mainframe-based batch processes with modern PL/SQL-based logic, XML-driven ETL frameworks advanced scheduling and monitoring tools. By improving system performance, automation monitoring, the initiative enhances operational efficiency, reduces downtime supports seamless integration across the organization’s distribution centers, warehouse transportation management systems.
The organization, a leading wholesale supply chain services provider in the U.S., operates over 70 distribution centers across its Retail and Restaurant divisions. The legacy AS400/Mainframe-based Order Management System (OMS) currently used for batch processing presents several challenges. These systems are isolated, lack real-time capabilities rely on batch jobs that are difficult to monitor, extend, or integrate with modern platforms.
Batch processing is heavily dependent on legacy scripts and requires manual intervention for error handling. Limited visibility into execution and a reactive approach to issue resolution delay decision-making and impact overall operations.
Restricted system access further complicates collaboration between Distribution Centers (DCs), Warehouse Management Systems (WMS), Transportation Management Systems (TMS) corporate IT. This leads to operational silos and longer turnaround times for resolving batch-related issues.
The primary objective is to modernize and centralize OMS batch processing, improve visibility and automation, streamline backend database operations enable proactive monitoring and support.
To overcome these challenges, the OMS Batch Team is actively re-engineering the backend batch architecture using PL/SQL-based logic, XML-driven ETL frameworks modern scheduling and monitoring tools.
PL/SQL-Based Batch Logic: Legacy mainframe scripts are being transformed into modular, maintainable PL/SQL packages and procedures, following Oracle best practices for performance, scalability ease of maintenance.
XML-Driven ETL Processes: Complex data transformations and business rules are managed through XML-based configurations that drive the ETL logic. This approach enhances flexibility, maintainability standardization across batch jobs.
Advanced Scheduling: Batch jobs are orchestrated using Control-M, Crontab Ansible, depending on environment and job criticality. These schedulers provide robust dependency handling, retry mechanisms flexible execution windows.
Database Optimization: Oracle capabilities such as partitioning, indexing, materialized views bulk processing are used to ensure high performance and data integrity across batch executions.
Centralized Monitoring and Logging: Real-time job tracking and database health checks are performed using Oracle Enterprise Manager (OEM). OEM offers deep visibility into PL/SQL job execution, session performance system health. It supports drill-down diagnostics, proactive alerting enables faster issue resolution while improving overall operational transparency.
Secure & Role-Based Access: Integration with Keycloak ensures secure, role-based access for managing job executions, logs ETL deployments, enabling controlled and auditable operations.
All incidents are managed within defined SLA timelines. In case of SLA breaches, escalation protocols are triggered corrective actions are prioritized and documented.
Automated, modular PL/SQL jobs reduce manual effort, improve error handling ensure seamless order processing across geographies and time zones.
With centralized monitoring through OEM, the team can detect failures early and respond swiftly, minimizing impact and reducing Mean Time to Resolution (MTTR).
Scheduled and event-based ETL processes ensure synchronized and accurate data flow between OMS, WMS, TMS ZOS, supporting consistent operational decision-making.
Unified dashboards and logging empower IT, operations distribution teams to work together efficiently on issue tracking and resolution.
The standardized PL/SQL and XML-based batch framework enables quick onboarding of new distribution centers, integration with new systems adaptability to evolving business requirements freeing the team from the constraints of legacy mainframe systems.