Converting OCL and RPG II

RPG
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Q: We are running our AS/400 in a S/36 environment and have a lot of OCL and RPG II programs to convert.

Do you have any suggestions on software or books to help convert them to CL and RPG IV?

A: IBM used to provide a conversion toolset to move S/36 environment OCL and RPG II (aka RPG36) to S/38 CL and RPG III. I'm not sure whether that toolset is available today with the iSeries.

To convert from an RPG II source member to an RPG IV source member, you first have to move your RPG II source to RPG III. Basically, since the syntax is similar, you just need to start deleting things that are deprecated in RPG III. EXIT/RLABL comes to mind.

Once the source compiles as RPG III, you can convert it to RPG IV by using the CVTRPGSRC command included with your RPG compiler package.

Beyond that, you may want to check out one of the third party vendor tools that provide additional migration support.

As for OCL, there was a tool included with OS/400 that converted most of OCL to CL. I'm not certain if those tools still exist today. There are, however, vendors that provide similar tools. One that comes to mind is Linoma Software. You can also check the MC Press Vendor Directory for other vendors.

As for books on the subject, check out Paul Tuohy's Reengineering RPG Legacy Applications published by MC Press.

 

 

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: