White paper 4 of 14

What the AI Converters Do With Your Sort Steps

What AWS, IBM, Google and Microsoft AI migration tools document about DFSORT and ICETOOL steps, and what translating sort into generated code risks.

Download the PDF

Abstract

A mainframe batch shop runs thousands of sort steps, each one driven by a few lines of DFSORT or Syncsort control statements. The AI conversion tools that have come out since 2022 explain in detail what they do with COBOL. I wanted to know what they do with the sort steps, and I used only their public documentation to find out. AWS documents a runtime that emulates the mainframe sort utilities and sends you to the legacy manuals for what the statements mean. One batch platform maps simple sorts onto the Linux sort command. IBM, Google and Microsoft say nothing. This paper covers what a translation of sort into generated code has to get right, what the published research says about LLM translation accuracy, and what all this means for testing and maintenance, including for the AI assistants people now ask.

← All white papers