Relogix™ Sample Translation (IBM™ Mainframe)


This page presents two sample translations of IBM mainframe assembler code. In each case, the code shown is exactly as produced by Relogix, prior to cleanup by our engineers to improve code style or fix problems like EBCDIC dependencies

The source code of both examples was obtained from the CBT Tape web site: http://www.cbttape.org/cbtdowns.htm

All assembler code is written for the IBM High Level Assembler (HLASM).

Quick look

Click on the links below to display the sample source assembler and automatically-generated C in your browser:

The first example comes from a set of Date Conversion routines written by Jay Moseley (All rights acknowledged).

Assembler source
Relogix translation

The second example is a File Compression utility written for an IBM mainframe running OS/390 by Jeff Kaplan (All rights acknowledged).

Assembler source
Relogix translation

Full sample translations

Click on the link below to download the full sample translations (assembler source file and translated C source):

Download the full samples (ZIP file, 47KB)

Documentation

More information on Relogix is contained in the following documents

Platform Modernization Alliance

MicroAPL is proud to be a member of the Platform Modernization Alliance, a group of companies that are working together to help customers migrate workloads off the mainframe and onto the Microsoft platform