16
Tue, Apr
6 New Articles

Case Study: ASNA's Visual RPG for .NET

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

We all know that the Internet has dramatically changed the world of business and commerce quite a lot in the last 10 years. Or has it? In the old days, street-corner vendors and mom and pop shops distinguished themselves by offering solid service at competitive prices--all served up with a smile.

Yes, the Internet has changed the mechanics of commerce, but it hasn't changed the semantics. Selling groceries to a neighbor around the corner or selling commercial lift devices to someone who lives halfway around the world both hinge on the vendor's ability to keep promises. For nearly 40 years, Genie Industries has been selling commercial lift equipment. Genie's ability to keep customer promises has figured largely in its success over the years.

For its global network of dealers and customer service agents, Genie Industries used ASNA's Visual RPG for .NET (AVR for .NET) to create an Internet-based customer service tracking application. This application is used worldwide to help Genie manage and fulfill its customer service issues. It is just another way Genie ensures it keeps customer promises.

Sizing Up the Problem

Back in the old green-screen days, Genie Industries used typical back-office, green-screen methods to track its customer commitments. Postal mail, fax machines, telephone calls, and driving to the four corners of the earth were all used to ensure promises were being kept. As Genie grew, so grew the volume of customer service transactions that needed to be managed. The IT team at Genie knew there had to be a better way.

Says Paul Adrien, Genie's software engineer, "We took a pretty hard look at our customer service tracking process in 1997. At that time, ASNA's Visual RPG Classic [the component object model version of AVR] came to our attention and very quickly seemed like just the tool for us to build a new-generation customer service application. We liked the fact that AVR used the RPG language and preserved everything we knew about file I/O on the AS/400."

After taking one of ASNA's five-day training classes (back in '97), Adrien and a couple of other members of the Genie IT team built a new customer service application. Adrien continues, "That original AVR rewrite was very effective, but it was written to run on local PCs as a native Windows application. It worked well for us for several years, but it was bound to the back office, making it hard for us to use throughout our global network of dealers and representatives. The advent of the Internet as a medium over which to deploy an 'internal' application was very appealing to us. With the maturation of the Internet, it became apparent we needed an Internet-based customer service tracking application."

To the Internet

Adrien and the Genie IT team set out to investigate how to create an Internet-based customer service application. The version of AVR Genie was using did support Internet application development, but the Web application model it used had a pretty steep learning curve.

AVR Classic used Microsoft's COM-based Application Server Pages (ASP). That Web development model, while very effective, is rather complex and doesn't lend itself well to separating business logic from the Web user interface. In 2003, ASNA introduced Visual RPG for .NET. That product changed the Internet equation for Genie.

Adrien explains, "By 2003 or so, we had acquired a very competent Web developer who was familiar with the ASP model. He dabbled with the AVR and ASP pages, but progress was slow and hard in coming. About that time, ASNA introduced Visual RPG for .NET. When we learned that AVR for .NET intrinsically supports Microsoft's ASP.NET Web development model, we were very excited. We knew the ASP.NET model made Web application development much easier and required lots less code than the old Web development model. We also knew that it worked with our business data on our AS/400s and our existing Windows 2000 Web servers."

It was time for the Genie IT team to go back to school. Adrien and several members of the Genie IT team came back to ASNA's San Antonio-based training center in the fall of 2003 and took ASNA's five-day class for AVR for .NET. They learned the basics of AVR for .NET as well as the basics of Microsoft's .NET framework. Most of what they had already learned from the previous release of AVR applied, and it didn't take long for the Genie team to get up to speed with AVR for .NET. Like the Classic version of AVR, AVR for .NET retained the basic semantics of RPG but added lots of additional capabilities.

Genie is blessed with an IT team with a disparate set of skills. Programmers with long-time RPG and iSeries skills, Web development skills, and PC development skills all comprise the Genie IT team. AVR for .NET, with its unique blend of capabilities for all three of those environments, was the perfect stamping grounds for Genie's IT team.

"I'm especially happy with the RPG syntax AVR for .NET uses. While it retains the core capabilities of RPG, ASNA has made RPG a first-class, expressive language. I'm a long-time RPG green-screen coder, and I learned ASNA's RPG syntax very quickly--as did our Visual Basic team members," says Adrien. "We were all very productive very quickly with AVR for .NET. And, beyond what ASNA has done with RPG, we quickly learned that AVR for .NET's ASP.NET implementation makes building Web applications orders of magnitude faster and easier than the old ASP model."

Up and Running

With a little AVR for .NET knowledge under his belt, Adrien set out to build the Internet-based customer service application. Knowing only a little about Web development, Adrien leaned heavily on Genie's Dave Wendleton for help. Wendleton is one of Genie's Web experts and was a member of the Genie team who attended the AVR for .NET class. Adrien credits Wendleton with lots of the success of the project.

"Just after completing ASNA's AVR for .NET class, I got started on Genie's new Web-based customer service application. We were very early users of ASNA's AVR for .NET, and I had a couple of frustrating issues finding examples of the kinds of problems I set out to solve. [Since Adrien's project last fall, ASNA has substantially revised and updated AVR for .NET's examples and Help system.] However, once I got over a few initial hurdles, the project progressed nicely," reports Adrien. "In less than a month, I hammered out the basic shell of the new Genie Web application. This was my first attempt at creating a Web application. I'm a long-time AS/400 RPG programmer and didn't have any trouble with ASNA's RPG dialect in Visual RPG for .NET. I had some tough, Web-related technical issues as I built the Web app, but with Dave Wendleton's already-extensive Web development background and ASNA's technical support, it surprised me how quickly I got productive."

In less than two months, Adrien deployed his new AVR for .NET call tracking application on the Internet. The new application totally replaces the old back-office bound application. Genie customer issues are now tracked in real time, worldwide.

http://www.mcpressonline.com/articles/images/2002/Genie-Industries-March2004-V2-CP%20V300.jpg
(Click image to enlarge.)
 

For Genie, the answer to its Web application problems was obvious: ASNA's Visual RPG for .NET. Its use of RPG, its ability to connect effectively to the AS/400, and ASNA's quality tech support and great training programs all made Visual RPG for .NET an obvious decision for Adrien and the IT team at Genie.

Explains Adrien, "Genie management was very impressed with our AVR for .NET solution. Now, whether a reported problem is up the hill in one of our manufacturing plants or around the globe in Bangladesh, our global service staff is going to know about it and respond to it immediately. And this first app just barely scratches the surface of possibilities for Genie. We already have another team using Visual RPG for .NET to create a Web-based order entry system for everything that Genie sells."

Roger Pence is ASNA's education director. Prior to joining ASNA three years ago, Roger worked for many years as a journalist, speaker, and technical editor in the AS/400 community.


http://www.mcpressonline.com/articles/images/2002/Genie-Industries-March2004-V2-CP%20V301.png
ASNA
9901 West IH-10, Suite 1000
San Antonio, TX 78230
U.S.A. 800.289.2762
Europe +44 (0) 1483 570666
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Web: www.asna.com

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

$0.00 Raised:
$

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: