Tue Aug 16, 2022 4:23 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.

Migration tools

Questions or comments around migrating data or applications from the mainframe

Tue Jan 08, 2013 10:21 am Change Time Zone


1. Are there any tools to generate ECL code from COBOL or JCL?

2. If anyone here has been part of a migration from mainframe to HPCC and has some insights to share it will be greatly appreciated.

Posts: 68
Joined: Fri Sep 07, 2012 9:28 am

Tue Jan 08, 2013 1:17 pm Change Time Zone


There are no automated code migration tools from COBOL or JCL, that I know of. In the majority of the cases (and every situation we encountered) is significantly more efficient to re-implement the logic in ways that it can be more optimal, concise, readable and easier to maintain, rather than trying to copy the code semi-verbatim.

Several people in our team have participated in migrating applications and code from Mainframes to HPCC. The best people to speak about their personal experiences are, possibly, David Miller and John Holt.

Let's see if they can chime in and tell us a bit about their insights.


Community Advisory Board Member
Community Advisory Board Member
Posts: 73
Joined: Wed Apr 27, 2011 8:59 pm

Tue Jan 08, 2013 9:34 pm Change Time Zone

I did a significant amount of COBOL to ECL. The only thing I automated was creating ECL record definitions from COBOL definitions. I did this with some PERL and not very well (written to the coding standards used in the COBOL I was porting). The records were used for porting data from the COBOL system to the ECL system.

A proper port involves understanding the COBOL and what it accomplishes, then laying it out in ECL. The procedural COBOL does not translate directly into ECL.
Posts: 1
Joined: Tue Jan 08, 2013 9:31 pm

Wed Jan 09, 2013 6:32 am Change Time Zone

Thanks Flavio and Miller. This really helped!
Posts: 68
Joined: Fri Sep 07, 2012 9:28 am

Fri Apr 26, 2013 2:21 pm Change Time Zone

Hi Miller,

We are also working in migration from Mainframe to HPCC.
Could you share the PERL Script for converting COBOL(copy book)definition to ecl record layout? which help us a lot.

Posts: 14
Joined: Tue Apr 02, 2013 9:07 am

Return to From Mainframe

Who is online

Users browsing this forum: No registered users and 1 guest