- Migration Pattern
- COBOL to Java
migration-pattern
Migration Pattern
Legacy Is A Big Obstacle for Advancement
COBOL to Java Conversion Methods
- Straight conversion: Mechanically convert existing systems as-is.
※The migration method is used for a long time. - Generative AI conversion: LLM makes effective conversion and technicians
fix bugs and test.
- AI-powered migration tool: Use AI tools not LLM to understand COBOL
programsand generate correct pure Java code.
Problem with Straight Conversion – Conversion
Problem with Straight Conversion – Testing
LLM (Popular general-purpose generative AI model) and Its Problems
LLM Application
Use generative AI tools like ChatGPT to convert COBOL to pure Java systems, C/S systems to WEB, etc.
LLM Limitation
1. It requires learning. No direct injection of knowledge.
・Extremely large amount of high-quality training data v.s. insufficient amount of COBOL and
Java available for free.
・LLM evaluation requires extremely fast processing v.s. CPUs are too slow to meet the demand.
Difficult to evaluate by COBOL/Java comparison tests.
2. Additional learning for each round of bug fixes changes conversion rules.
System test must be done all over again.
Low quality conversion that requires huge manual workload of debugging, adjustment and retesting.
System Reform Conversion: Language Conversion Using Knowledge-injected AI
QA of System Reform
Complete verification of all technical elements
Test with actual business data
GUI/CUI migration (WEB)
High Value-Added with System Reform Technology (cases)
Success Stories
Client Overview
-
This case was reported by Nikkei XTECH earlier this year, with title “ITOCHU Foods aims to break away from Fujitsu general-purpose machines by converting 3 million steps of COBOL to Java”.
https://xtech.nikkei.com/atcl/nxt/column/18/00001/08840/
ITOCHU Foods
One of the largest alcoholic beverages and food wholesaler in Japan
Annual Revenue for FY 2022 – over USD$4B
Itochu Foods searched for an IT vendor with a proven track record of handling many legacy migration projects and decided to work with SoftRoad.
Project Overview
Goal
・Eliminate Fujitsu’s general-purpose machines on which Accounting, Sales and Logistics systems/applications operate
・upgrade COBOL applications running on general-purpose machines to Java
Legacy system
The number of COBOL programs for accounting systems: 7,000 to 8,000
Line of source codes: more then 3 million.
Target system
The new accounting system uses
・Amazon EC2, a virtual machine environment from AWS,
・SQL database service “Amazon RDS” and object storage service “Amazon S3” as databases, and
・to execute batches using “JP1“.
The migration of accounting system completed in August 2023 was the first step.
The remaining systems will be updated in spring of 2026.
Result
・”Almost no performance problems occurred” says Headquarters Director Namimoto.
・SoftRoad President Lewis explained, “Java is often said to be slow. However, if you convert it properly using AI and tuning special places by engineers, you will be able to achieve processing speed that Java should have had.”
・SoftRoad helped save 50% of migration cost for customer.
・Plus, ITOCHU Foods does not need mainframe anymore. They will save considerable amount of cost of running mainframe each year.
System Reform Schedule
Migration Cases
Six systems of two IBM mainframes such as production, sales, and after-sales service in a certain manufacturing industry
- Development process
- Inventory, migration design, source code migration – system test, user acceptance test support, go-live
- System reform information
- COBOL to Java
COBOL to MF COBOL
NATURAL to Java
PL/I to MF PL/I
JCL to Java+XML file
ASM to MF COBOL
ADABAS to SQL Server
OS/390 V2 to Windows Server 2012 - Current system scale
- COBOL:2,487KL, JCL:545KL, NATURAL:429KL, PL/I:2,156KL, ASM:35KL, Form:781, Screen:1,572
- Development period
- 20 months(* Migration of each system was carried out in about one year.)
Manufacturing System
- Development process
- Inventory, migration design, specification documentation, UI design – migration test, system test & user acceptance test support
- System reform information
- COBOL to Java
PL/I to Java
JCL to Shell
VSAM to Oracle
host to Linux - Current system scale
- COBOL:141.5KL, PL/I:37.2KL, JCL:44.8KL
- Development period
- 13 months
New Core Accounting System
- Development process
- Inventory, migration design, source code migration – migration test, functional modification, system test, user acceptance test support, go-live
- System reform information
- MED, PSAM to HTML5.0
COBOL to Java11
ASM, Utility to Java11
JCL, Macro, CLIST to Java11 & XML file
File(PS, DAM, PO) to Linux standard file
VSAM file to SQL Server 2019
XSP to Red Hat Enterprise Linux 8.4(AWS) - Current system scale
- MED, MAP:11.9KL, COBOL:1,934.2KL, JCL:751.3KL, ASM:3.8KL, CLIST:1.7KL, COPY:41.7KL, Utility:50, Macro:4KL
- Development period
- 30 months
Computer Aggregate Processing System
- Development process
- Inventory, migration design, source code migration – migration test, system test & user acceptance test support, go-live support
- System reform information
- IDLⅡ, COBOL, COBOLS, HPL to Java
JCL to Java & XML file
ADBS/RIQS to SQL Server 2016
ACOS4 to Windows Server 2016 - Current system scale
- IDLⅡ:775.9KL, COBOL:386.8KL, COBOLS:49KL, HPL:9.8KL, JCL:327.3KL
- Development period
- 36 months
Next Generation Core System
- Development process
- Inventory, migration design, source code migration – migration test, system test & user acceptance test support
- System reform information
- YPS COBOL to Java
ASM to Java
NDB & RDB & VSAM to Oracle 12c
Fujitsu host to RHEL6 - Current system scale
- COBOL:520KL, ASM:0.9KL, JCL:178.5KL
- Development period
- 11 months
Cost Management System
- Development process
- Inventory, migration design, specification documentation, source code migration – migration test, system test & user acceptance test support
- System reform information
- COBOL, COBOLS, COBOLX, IDLⅡ, RPG, Macro to Java
JCL to KShell
ADBS to Oracle
VSAS/RIQS to Oracle
ACOS4 to Linux - Current system scale
- COBOL:104.3KL, COBOLS:124.5KL, COBOLX:7.7KL、DATASSF:5.0KL, IDLⅡ:391.1KL, RPG:1.4KL, JCL:431.5KL, Macro:10KL
- Development period
- 20 months (* POC included)