Lädt …
Lädt …
Lädt …
Automation · the shelf
23 records in Automation. Pick one to read it.
1223
AWS outlines a five-phase path from mainframe Assembler to Java
Automation
You are reading this one
What the post is A1
No audio. The needle follows your reading.
AutomationNo. 12 of 23
An AWS post describes a method that turns Assembler into COBOL first, then Java Spring Boot, with expert checks at each phase and no savings figure given.
Lädt …
On 16 November AWS published a post on moving mainframe Assembler programs to Java. The post is a methodology and walkthrough that uses existing services: Amazon Bedrock, the Kiro IDE and AWS Transform. The authors say they have seen the same situation at banking, insurance and airline customers. Assembler programs still run critical work, and fewer people can read them each year.
The method has five phases. First, extract business rules from the Assembler into Business Rules Extraction documents, called BRE documents. Second, turn those into a functional specification. Third, convert the Assembler to COBOL as an intermediate step. Fourth, validate the COBOL. Fifth, use AWS Transform to convert the validated COBOL to Java Spring Boot services. The post says the intermediate COBOL stage gives subject matter experts a readable format to check, and that this lowers risk compared with converting straight from Assembler to Java. That is the authors' claim. The post offers no comparison data.
The post describes the starting point in detail. Job Control Language jobs trigger Assembler programs on a schedule. The programs read VSAM and sequential files, work against IBM Db2 for z/OS, and use low-level register operations. Job status comes back through JCL return codes. If you already have COBOL source, the post says to skip ahead and give it directly to AWS Transform.
Phase one is where the post spends the most care. It says the quality of the BRE directly affects accuracy. The example prompt asks the model to list every rule with an ID, a plain-English description, inputs, outputs and triggering conditions, and to list data mappings from registers or memory locations to COBOL variables. It asks for JSON so later steps can use the output automatically. The post is firm that these documents are drafts. Experts review them, discrepancies go in a validation log, and the BRE is updated before the next phase.
The specification phase takes the validated BRE and produces COBOL data structures, a step-by-step process flow and a business rules coverage map. Then a prompt generates COBOL with comments that cite rule IDs, which gives traceability back to the extracted rules. A further prompt checks the Assembler against the COBOL on six dimensions: syntax, structure, logic, data flow, rule coverage and specification compliance. It combines them into a weighted score and marks a pass at 0.7 or higher. Treat that score as a model's own judgment. The post does not say how well it matches real test results.
Some practical settings are given. Pick a model with strong code reasoning and a large context window, because Assembler programs are long and dense. Set temperature to 0 for consistent output across runs. To handle many programs, send the same prompts through the Amazon Bedrock Converse API and store each output in Amazon S3 so it feeds the next phase. Supply documentation and data dictionaries along with the code. Use sanitized test data rather than production data or personal information. The post also says Bedrock does not use your prompts or outputs to train AWS models.
The prerequisites list includes test data sets with expected outputs for functional equivalence testing, and experts available for validation sessions. The effort sits with your people, who still confirm what the model drafts.
For the last phase, the post gives only a short description. AWS Transform converts the COBOL to Java Spring Boot with refactoring that introduces dependency injection, repository patterns and service layers. It points to the AWS Transform Refactor Workshop for step-by-step instructions. The Java step is not walked through here.
The lessons section stresses expert review at every stage, the lower risk of the COBOL middle step, writing specifications before converting, and testing after each stage so problems surface early.
What the page does not say matters. It gives no time or cost saving, only a general claim of reduced transformation time compared with manual approaches. It names no customer result and no program size or language coverage. It does not say how well the model output holds up on real, messy Assembler, and it gives no failure rates for the equivalence check.
Who should care: teams holding Assembler tied to COBOL batch work, and anyone evaluating AI-assisted modernization. A fair first step is to run the extraction prompt on one small program and have an expert grade the BRE. That shows how much review time the method really needs.
Try the extraction prompt on one small program and have an expert grade the output. That test shows the review cost before you commit to the whole method.
Views are my own.
I write when I’ve learned something. Every piece is dated, so you can see the rhythm for yourself.