13
Wed, Nov
5 New Articles

Bridging Vertical Software Silos with ASNA Visual RPG

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

 

With a little out-of-the-box thinking, you don't need an IBM i to solve challenges with RPG skills—you just need AVR's modern implementation of RPG and a little creativity.

 

Rick Schuster is one of us. He learned how to write RPG when Ronald Reagan was president. He cut his RPG teeth on the S/36 and then moved to the AS/400 when it came out in 1988. Despite Rick being a card-carrying RPG programmer, RPG is now mostly just his hobby. He spends his workdays now being the Chief Information Officer for Marous Brothers Construction in Willoughby, Ohio (which is just outside Cleveland). As CIO, he isn't a coder, but rather directs Marous Brothers Construction IT resources.

 

Marous Brothers is a leading commercial construction company and has spent the past 35 years building some of the most recognizable commercial buildings in the Midwest. Their projects have included performance art theatres, government and healthcare offices, sports venues, sanctuaries and chapels, schools, multi-family housing, as well as an array of historical restorations and enterprise green communities.

 

The business uses several very expensive software packages for managing all aspects of commercial building construction. These packages are all Windows-based and connect to Microsoft SQL Server. While they each have some level of extensibility, the interoperability between these vertical silos isn't as effective as it should be. This is the story about how an RPG-centric CIO uses his RPG skills with ASNA Visual RPG (AVR) and DataGate for SQL Server (DSS) to integrate these software packages. With what is quite nearly a personal hobby project, Schuster has solved a great many business challenges for Marous Brothers Construction with ASNA AVR.

 

To truly get a handle on things, we must integrate the data from these vertical software packages into a coherent, cohesive data store. Rick Schuster, Chief Information Officer

 

A Lifetime of Coding

"I've written information systems for years, first with RPG on the S/36 and then on the AS/400, and then later with ASNA's AVR Classic product [the COM-based first-generation version of AVR]. I love writing code; it's one of my hobbies. I've almost always got a coding project of one kind or another I'm working on," explains Schuster.

 

When Schuster signed on at Marous Brothers Construction as CIO, he knew that he wouldn't be coding on a day-to-day basis. Rather, he stepped over into the dark side: managing things, attending meetings, making decisionsall very non-codey things. Shortly after Schuster arrived at Marous Brothers Construction, the need for integrating the data from a variety of independent applications, each written without knowledge of the other, became quite apparent.

 

Schuster continues, "These vertical software packages are enormously expensive, and any one is very capable. But in the construction business, we need several of these independent apps and have several different groups of employees using them. Our commercial construction projects must be meticulously managed across all stages of a project. To truly get a handle on things, we must integrate the data from these vertical software packages into a coherent, cohesive data store."

 

The need for this data integration had been an ongoing challenge for Marous Brothers Construction, and although Schuster wasn't hired as a coder, he was nearly sure that if he could marshal his RPG talents, he'd be able to pull the data together in a rational fashion.

 

AVR and DSS to the Rescue

To solve the challenge, Schuster knew he needed a Windows-based development environment that offers database connectivity to SQL Server. As he considered his requirements, he remembered his experiences with ASNA's Visual RPG. Schuster had spent some time with .NET and VB/C# working with SQL Server but thought he'd be more productive on this project if he could use an RPG-based product. With many other CIO-related important responsibilities, this project needed to be simple and quick and not throw up a steep learning curve or other stumbling blocks. Schuster considered ASNA's Visual RPG for .NET and its DataGate for SQL Server a good bet to help him solve the data integration challenges.

 

ASNA Visual RPG (AVR) provides the only RPG compiler for .NET and integrates that language tightly with Microsoft Visual Studio. AVR offers high-fidelity with the .NET Framework and offers a first-class editing experience inside Visual Studio. ASNA's DataGate for SQL Server (DSS) provides RPG-to-SQL connectivity. DSS translates RPG's record-level access idioms to SQL's set-based idioms in real time—effectively providing an RPG program access to Microsoft's SQL Server with RPG record-level access idioms. With his sights set on solving his challenge, Schuster downloaded trial copies of AVR and DSS and dug in.

 

The initial suggestion that I could resolve our data integration challenge with my RPG skills was initially met with some skepticism. But in short order, an ASNA Visual RPG pilot project provided enough confidence to management to green-light the full data integration project. Rick Schuster, Chief Information Officer

 

Under His Own Power

Schuster's previous experiences with AVR Classic and .NET proved helpful, and he was quickly finding his way around AVR for .NET. Once installed, DSS is essentially transparent to programmers. With DSS installed, database access to SQL Server is done simply through traditional RPG file access opcodes (e.g., CHAIN, READ, and SETLL); there is essentially no learning curve to DSS for RPG coders.

 

Schuster elaborates, "While AVR for .NET is similar to AVR Classic, I did get a little mentoring and training help from ASNA's services department. Once ASNA pointed me in the right direction, I got very productive on my own quite nicely.

 

"I'm the type of coder who, when given an example that is close to the challenge I need to solve, I can generally figure things out. I broke our data integration challenge down into several chunks and was able to apply ASNA-provided code to each of these chunks. One of the latest parts of the puzzle I've resolved is reading and writing Excel data with AVR. ASNA's tech support provided me with just the help I need using the EPPlus library with AVR to solve the Excel parts of my challenge."

 

With ASNA's help, AVR and DSS have empowered Schuster to solve a long-standing challenge that had plagued Marous Brothers Construction for a long time. Traditionally, RPG skills excel in cases where there is an IBM i somewhere in the mix. But Schuster's experience shows that with a little out-of-the-box thinking, you don't need an IBM i to solve challenges with RPG skills—you just need AVR's modern implementation of RPG and a little creativity.

 

Schuster concludes, "The initial suggestion that I could resolve our data integration challenge with my RPG skills was initially met with some skepticism. But in short order, a little pilot project provided enough confidence to management to green-light the full data integration project. Through it all, with a little help from ASNA's services and tech support, I was able to solve our data integration challenges with AVR where others had failed with far more expensive efforts."

 

Screen shots from Rick Schuster's ASNA Visual RPG for .NET app are shown below:

 

031815ASNAfig1 

Figure 1: This is the Production and Time Tracking sign-on screen.

 

031815ASNAfig2

Figure 2: Time Card Entry detail is displayed with associated information pulled in from several vertical apps.

 

031815ASNAfig3

Figure 3: Like the Time Card Entry, details shown here are an amalgam of data from several of the vertical apps.


About ASNA

In its fourth decade as a market leader and innovator for IBM midrange systems, ASNA provides comprehensive and flexible solutions for modernizing IBM i applications to the Microsoft .NET platform.

 

ASNA enables companies to integrate and extend their RPG green-screen solutions to .NET, the web, and mobile, while preserving investments in IT and human resources. Our solutions are distributed worldwide and used by more than a million end users.

 

ASNA holds a Microsoft Gold competency in Application Development and is a Microsoft Visual Studio Industry Partner, an Advanced Tier Member of IBM's PartnerWorld for Developers, and a gold-level partner of Microsoft's Platform Modernization Alliance.

 

ROGER PENCE

Roger Pence is ASNA's Product Evangelist. Roger has been in the IBM i midrange community for so long that Elvis was alive when he started. He has been with ASNA since 2000. Prior to joining ASNA, Roger was a technical editor for NEWS/400 and the author of the 400/Group's AS/400 and Windows newsletter.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • 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.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • 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

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • 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: