• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • ASNA Brings RPG to .NET Migration Software to Latest Windows IDE

    June 10, 2008 Dan Burger

    IBM iSeries and System i shops have been migrating RPG code to the Microsoft .NET environment for years. It’s not happening because it makes no sense. For a lot of organizations, it’s the right thing to do. Making it quicker and easier is why ASNA, the application development tool maker with more than 25 years experience in the AS/400 market, develops a product called Monarch. ASNA has just released a new version of Monarch, Version 4.0, with plenty of enhancements worth noting.

    Monarch 4.0 supports Microsoft’s .NET Framework 3.5 and Visual Studio 2008, which were released earlier this year. Monarch 3.1, the previously current version, supported .NET Framework 2.0 and Visual Studio 2005. Although Windows programmers have been somewhat slow to move to the new framework and development environment, the momentum for change is inevitable. Monarch 4.0 also supports .NET Framework 2.0 and Visual Studio 2005, which is where the bulk of Windows programming is done and where most Windows programmers are comfortable for now.

    On the RPG side, Monarch 4.0 brings a few more conveniences to the software party. The first is a capability to automatically recompile old RPG code that makes use of the RPG cycle. This is code that likely dates back to System 34 and System 36 days. In most cases it was converted to RPG II during the early AS/400 years. ASNA has run into this with customers often enough to include the automatic conversion in this latest release.

    Additional automation has also been included for the conversion of embedded SQL to .NET. This was another area (like the RPG cycle mentioned above) where hand coding was previously required. Now a high percentage (ASNA estimates it at 90 percent) will transfer without any issues. In most cases, the embedded SQL is straightforward code. That doesn’t guarantee that variations won’t cause recompiling glitches, however.

    In terms of migrating DB2/400 data to SQL Server, Monarch 4.0 has a feature that examines DB2/400 database files and provides a migration assessment that details which files will transfer easily and which files will be more difficult and require manipulation when going to SQL Server.

    ASNA’s middleware product called DataGate provides the capability to communicate with both the DB2/400 and the SQL Server databases.

    ASNA officials feel comfortable promising that Monarch can handle RPG to .NET migrations with 95 percent of the recompiling done automatically, but they readily admit that much of this has to do with the style of the original code.

    “Things that make it more difficult, for instance, are the use of pointers and user spaces,” says ASNA President Eduardo Ross. “They don’t come across directly.”

    In the big picture that has to be considered in application modernization projects, these “hiccups” requiring hand coding are minor. “When you think about an application that has 2 to 4 million lines of code, getting 95 percent of that coming across automatically is a huge return on investment,” Ross points out.

    The .NET environment, in Ross’ view, is worth the migration because it allows applications to do things that are typically complicated on the System i side.

    “Integration to the outside world with Microsoft Office or Web services or being able to talk with other applications becomes almost trivial from the programming side,” he says. “If you want to consume a Web service on the ‘400, it gets sticky because you cannot do it within the realm of RPG.”

    Expectations for 100 percent of RPG code to be recompiled should not be entertained. That’s not a knock against ASNA. It’s a realistic view regardless of what’s being recompiled or the method being used. Ross still insists almost all the program logic is preserved. If there’s a problem it’s that the syntax may not automatically come through.

    “If you have complex business logic, for instance in pricing, sometimes the logic that generates a price for a specific order is very complex–depending on items, customers, and backlogs, all of that is easy to migrate because it is pure business logic,” Ross says.

    During the migration of the application presentation layer, Ross says, the layout of reports and screens can be preserved.

    The migration process begins when the Monarch software is pointed to an application using one or more sets of libraries on the System i. Monarch analyzes the objects it finds in those libraries. It determines the relationship between those objects. For instance, program to program calls are significant. It identifies which programs are using which files and determines whether the program is interactive or not.

    Monarch then creates groupings, or sections, of those programs. There could be, for instance, 5,000 programs. In order to do a cohesive migration, it’s necessary to effectively groups programs.

    The migration occurs when these groupings are brought across and display files are converted into Active Server pages. The person doing the migration then opens the project in Visual Studio and compiles it, resolving unsupported features (pointers and user spaces, for example) when necessary. If the application consists of several thousand programs, they will need to be assembled with Windows-type tools and techniques.

    Applications can be enhanced in the Visual Studio IDE by using tools from ASNA’s Visual RPG, or from Microsoft’s Visual Basic or C #. Each one generates the same type of executables, meaning they can call one another. ASNA’s Visual RPG is the best bet for RPG programming tools that make the most sense to RPG programmers.

    “There are some decisions and work to be done to get the applications working on the other end,” Ross says. “Compared to the alternative, this work is small relative to rewriting an application from scratch.”

    Ross’ willingness to talk about hand work and the realities of what won’t happen at the touch of a button is refreshing in an industry where selling unrealistic expectations is the norm.

    “When you talk about percentages,” Ross says, “you have to decide whether you are talking about percentages of features or percentages of lines of code. Of all the features in RPG, what percentage of these seldom-used features affects the total number of lines of code? What is important is whether the feature affects 20 lines of code out of a million.”

    The RPG support for print programs that comes in Monarch 4.0 is a good example. Some companies don’t use it, and the feature is of no value to them. However, if a company uses print programs and Monarch 4.0 supports it, the recompiling automation of those programs becomes a big deal.

    Ross provided the example of a company that had 550 programs (10 percent of the company’s applications) that used the RPG cycle. It’s possible that removing the cycle from one program by hand would take four hours. That’s 2,000 hours total. The automation of recompiling these programs in Monarch 4.0 saves that effort.

    “Every percentage point that we gain in terms of automatic compiling represents potentially huge savings compared to the hand work involved for the customer,” Ross says.

    RELATED STORIES

    ALTech Taps ASNA to Migrate Food App from RPG to .NET

    iSeries Aviation System Moving to .NET, Thanks to ASNA Monarch

    ASNA Preps AVR for Visual Studio 2008

    450,000-Line RPG App Converted to .NET in Six Months



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    COMMON:  Join us at the Focus 2008 workshop conference, October 5 - 8, in San Francisco, California
    Profound Logic Software:  Web-enable in less than a day with Genie
    Vision Solutions:  System i Management Tips Blog - Free i5/OS Tips Each Week!

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    Getting Started with PHP for i5/OS: List Price, $59.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket Developers' Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    iSeries Express Web Implementer's Guide: List Price, $59.00
    Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    WebFacing Application Design and Development Guide: List Price, $55.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    The All-Everything Machine: List Price, $29.95
    Chip Wars: List Price, $29.95

    Recent Acquisitions Helping the BOS Cause Keeping 5250 Alive

    Leave a Reply Cancel reply

Volume 17, Number 23 -- June 10, 2008
THIS ISSUE SPONSORED BY:

MKS
Bytware
Seagull Software
nuBridges
Twin Data

Table of Contents

  • Bank’s Approach to Biometric Authentication a ‘Valid’ One
  • Programmer Conveniences Added to BCD’s WebSmart ILE
  • ASNA Brings RPG to .NET Migration Software to Latest Windows IDE
  • Safestone Re-emerges with New Corporate Identity, i OS Security Tools
  • NetManage and HiT Software Partner for Structured Data
  • Brooks Updates Remote Print Manager with Customized Workflows
  • NGS and Munson Good for Laughs
  • Small Insurance Companies Get On-Demand BI Service
  • IBM Mashup Center to Offer Online Trials
  • Vision Signs Filipino Retailer to HA Contract

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle