SuperBOL - COBOL modernisation

SuperTri

Your MFSORT and DFSORT control cards run on GnuCOBOL without rewriting: SuperTri replaces mfsort in your scripts and DFSORT in your sort steps.

Same output files, same SYSOUT report as MFJSORT: your operations tools keep working.

An open source utility, under the GNU GPL licence, derived from GCSORT: no proprietary component, no production licence.

Only available with the SuperBOL Subscription

What SuperTri brings compared with GCSORT

Compared with GCSORT 01.06.01, the community version from which it derives (as of 19/11/2026).

Technical specifications

Performance

Run time in seconds, on 5 million records: the smallest is the best, in bold on each row.

JobMFSORTGCSORT 01.06.01SuperTri
Sort, 1 character key (CH)2.65 s9.82 s1.58 s(6× faster than GCSORT)
Sort, 3 keys (CH + PD desc. + BI)4.60 s11.00 s3.01 s(3.7× faster than GCSORT)
Sort, 1 packed key (PD)4.10 s10.14 s2.15 s(4.7× faster than GCSORT)
Sort, 1 zoned key (ZD)2.02 s10.64 s2.30 s(4.6× faster than GCSORT)
Filtering + reformatting (INCLUDE + OUTREC)1.51 s9.54 s0.89 s(10.7× faster than GCSORT)
Sort + totalling (SUM)2.79 s11.04 s2.73 s(4× faster than GCSORT)
Sort of a text file (LS)3.36 s8.68 s2.58 s(3.4× faster than GCSORT)
Copy of a text file (LS)2.03 s10.12 s1.35 s(7.5× faster than GCSORT)
Merge of 4 files (MERGE)0.61 s3.89 s0.56 s(6.9× faster than GCSORT)
Copy (COPY)0.38 s12.04 s0.49 s(25× faster than GCSORT)

Measurements of 18/11/2026, on 5 million 60-byte records. Linux, Intel Core i7-1260P, 3 cores, files in cache, median of 5 runs. SuperTri 1.0.0; GCSORT 01.06.01 (upstream version from gnucobol-contrib), same libcob and same compilation options; MFSORT from Rocket Visual COBOL 11. SuperTri sorts in memory: about 500 MB for 5 million records, compared with about 12 MB for MFSORT.

Features: DFSORT, MFSORT, GCSORT and SuperTri

YesPartlyNo— Not applicable

FeatureDFSORTMFSORTGCSORT 01.06.01SuperTri
SORT, MERGE, COPY, SKIPREC, STOPAFT, EQUALSYesYesYesYes
INCLUDE / OMIT (conditions, bit tests, dates)YesYesPartlyno bit testsYes
INREC / OUTREC (BUILD, OVERLAY, conversions, edit masks)YesYesPartlyno conversions, masks or SEQNUMYes
SUM (ZD, PD, BI, FI, FL)YesYesYesYes
OUTFIL with reports (HEADER, TRAILER, SECTIONS, totals)YesYesNoNODETAIL onlyYes
OUTFIL FNAMES=, SPLIT, SPLITBYYesPartlyYesYes
JOINKEYS / JOIN / REFORMATYesNoYesYes
FINDREPYesNoYesYes
XSUMYesNoYesYes
SYMNAMES, ALTSEQYesPartlyPartlyno ALTSEQYes
IFTHEN, PARSE, JFY, SQZYesNoNoNo (planned)
ICETOOLYesNoNoNo (planned)
CH, ZD, PD, BI, FI, FL, CSL/CST/CLO formats, Y2 datesYesPartlyYesYes
MFSORT syntax (USE/GIVE/TAKE, CHAR-EBCDIC…)—YesPartlyno CHAR-EBCDIC or SIGN-EBCDICYes
E15/E35 exits, sort called from COBOLYesYesYesYes
Indexed files of all GnuCOBOL file handlers——Partlyone handler per jobYes
Verified MFSORT compatibility (596 cases compared byte by byte)——NoYes
Choice of dialects: MFSORT, strict MFSORT or DFSORT——NoYes
GnuCOBOL 4——NoGnuCOBOL 3 onlyYes
Debian and RPM packages, man page——NoYes
Linux—YesYesYes
Windows—YesPartlyVisual Studio project, not testedMinGW build only
z/OSYes———
LicenceProprietary (IBM)Proprietary (Rocket)GPL v3, freeGPL v3, free

SuperTri and MFSORT: tested on the mfsort command. GCSORT 01.06.01: from its sources (a recognised statement is not necessarily processed correctly: SuperTri has fixed more than 130 bugs). DFSORT: from the IBM documentation. MFSORT on Windows: from its documentation, not tested.

Modernise your COBOL codebase with SuperBOL

From proof of concept to industrial-scale production deployment, get support from one of the main contributors to GnuCOBOL.

The SuperBOL logo

Download our logo in the version suited to your background.

Need another format? Contact us.