White paper 11 of 14

More Than a Sort: The Business Logic in Your Control Cards

How DFSORT and ICETOOL control statements hide business rules (IFTHEN, OUTFIL, JOINKEYS, SUM), and how to find and score them before a migration.

Download the PDF

Abstract

Application inventories count sort steps as utility calls. A lot of them are really programs. Between 2003 and 2010 IBM added conditional reformatting, find-and-replace, group processing, variable-field parsing, two-file joins and date arithmetic to DFSORT in a series of service updates, and Syncsort MFX has similar features. A deck of twenty control statements can now select, classify, compute, join, aggregate and report, with its business rules written as column positions and hex constants. In this paper I trace how the sort turned into a declarative data-transformation language, and read an invented (but syntactically faithful) example as the specification it really is. I also explain why this logic slips past code scanners, documentation and ownership, and lay out a scoring rubric and an inventory method, so a migration estimate, a test plan or an AI conversion can start from what the control statements actually do.

← All white papers