23
Sat, Nov
1 New Articles

We Finally Have a Green-Screen Development Tool!

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

Although the name is nothing short of horrible, the latest edition of the Rational tools finally gives i developers the tools they need.

 

Even those of us who love Rational Developer for i (RDi) have been clamoring for an alternative to the venerable Screen Design Aid (SDA). It's been especially frustrating because the feature was already there in the tool. It was even called Screen Designer! It was right in front of our eyes, but it had that dreaded "Technology Preview" tag associated with it, along with a big disclaimer that it was not to be used for production work. Well, in the new Rational release, the preview tag is gone. Not only that, we got an extra bonus: a printer file designer (called the Report Designer)! In fact, this article is all about bonuses for the green-screen developer, so jump in!

Rational Developer for IBM Power Systems

And that's not even the whole name. The full name is Rational Developer for IBM Power Systems: RPG and COBOL Development Tools for the i. I can't even figure out an acronym for that mess. I'm going to stick with RDPi until further notice. The similarity to the old RDi acronym is intentional; RDPi is very much a rebranding of the RDi tools, although, of the bits they've added, a couple are absolutely essential to ongoing i development.

 

Screen Designer

 

The first enhancement is not really new, but they've finally taken the "Preview" off of the Screen Designer technology. That means that you can finally use the designer in a production environment. I've written about the screen designer in the past. I referred to it in an earlier review of RDi-SOA, and I wrote an in-depth review of one of the early versions of the tool back in May of 2007. Much of that review is still valid, although the look-and-feel of the tool has changed drastically. The 2007 version in particular is different because it had the UI characteristics of WDSC; the newer Rational products have a crisper UI because they're based on a newer version of Eclipse.

 

You might wonder why there hasn't been a lot of obvious change in the tool in the last two or three years (I say "obvious" because while a lot has happened under the covers, the interface is still strikingly similar to the release from back in 2007). In my opinion, it's because there really wasn't that much that needed to be changed. The basic GUI approach that IBM took back in WDSC was a good one. In order to provide the same level of functionality as SDA, the primary requirement was to expose the valid keywords for the various elements of a display file in a rational manner, and that was done way back in the WDSC version. After that, the real work was in refining the UI, especially the WYSIWYG design aspect.

 

Don't get me wrong, though: the Screen Designer is more than just a GUI version of SDA. A couple of features give the new tool a marked productivity edge over SDA. In particular, the ability to group records into record sets (called a "screen") is a significant improvement over SDA. With this new feature, you can combine a subfile record, a subfile control record, and a footer record into a single screen and then display them simultaneously. The "active" record (the one you can make changes to) is shown in color, while the other records are gray. But the real trick is that the active records are shown in a list in the GUI, and by simply clicking on one, you make it active and make the others inactive. Contrast this to what is required in SDA (exiting out of the design page, selecting another record, gong back into the designer), and you'll quickly see that the new tool is easier.

030310PlutaFigure1

Figure 1: This is the Screen Designer, in all its production-ready glory. (Click images to enlarge.)

 

But the other issue is that the person responsible for the Screen Designer (and the Report Designer) is also the same person responsible for the Rich UI Designer in RDi-SOA. If you've played with EGL Rich UI at all, you'll know that Brian Farn is something of a rock star when it comes to UI designers. However, that particular project kept him from moving the Screen Designer into production. With the new release, he's finally gotten the chance to add the necessary features to release the tool. And at the same time, he's given us yet one more tool....

 

Report Designer

 

I'll let you in on a little secret if you promise not to tell anyone: I still use internally described printer files. For a number of reasons, some of which probably have as much to do with inertia as anything else, I find it much easier to slap together a bunch of output specifications than to go through the effort of creating a PRTF source member, adding record formats for the various parts of the report, adding literals and variables, going through the separate compilation process, and then finally using that in my RPG program.

 

I know it probably seems silly; I have no such desire to use internally described display files. Then again, that's a little bit of an apples-to-oranges comparison since even with an internally described display file, you still have to create the display file object. With an internally described printer file, you don't need the extra object; in the simplest case, you can just use a system-supplied printer file object like QSYSPRT.

 

Anyway, while I have used externally described printer files, in general I just don't find them productive enough to justify the change in my programming style. That may finally change, however, with the new Report Designer. Let me just show you a couple of screen shots.

 

030310PlutaFigure2

Figure 2: The Report Designer looks a lot like the Screen Designer.

 

You can see that the Report Designer definitely inherited a lot of its good looks from the Screen Designer. The WYSIWYG editor with the drag-and-drop palette and the ability to combine records (in this case, into reports rather than screens) are almost directly equivalent to their counterparts in the Screen Designer. The WYSIWYG part is consistent and pervasive: for example, you can click on a field, and a sizing box will appear, letting you change the size of the field. You can click on a literal to directly modify the literal value. Right-click and select Properties to modify every attribute of the field.

 

Just those features would be nearly enough to get me to switch. But the Report Designer adds one more feature that seals the deal for me. You can create a "report layout" that includes one or more records (including multiple instances of each) and set the values of the fields and indicators for each record. In the case of this simple report, it allowed me to easily create the following test layout.

 

030310PlutaFigure3 

Figure 3: Here is the report from Figure 2 with test data added.

 

Changing the data is simple: just click on the field on the report and modify the test data. You enter non-formatted data for numeric fields and the system does the formatting based on the edit codes or edit words associated with those fields. This allows you to get an immediate visual feedback of how the report would look without having to actually compile and test it using an RPG program. I can almost guarantee that this will provide users with an incredible productivity boost in their report definition.

 

The Report Designer isn't a silver bullet. For example, it didn't display any of the advanced directives in an AFPDS printer file. I haven't asked Brian yet if that's even a direction they plan to pursue. But for standard text reports, this is quite an advancement over the old RLU.

 

So there you have it: two excellent tools, one new and one improved, specifically designed for the legacy i community. I must say I'm pleasantly surprised. The only thing left is a replacement for STRSQL. And for that, you'll have to read my upcoming article on IBM Data Studio.

 

Joe Pluta

Joe Pluta is the founder and chief architect of Pluta Brothers Design, Inc. He has been extending the IBM midrange since the days of the IBM System/3. Joe uses WebSphere extensively, especially as the base for PSC/400, the only product that can move your legacy systems to the Web using simple green-screen commands. He has written several books, including Developing Web 2.0 Applications with EGL for IBM i, E-Deployment: The Fastest Path to the Web, Eclipse: Step by Step, and WDSC: Step by Step. Joe performs onsite mentoring and speaks at user groups around the country. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..


MC Press books written by Joe Pluta available now on the MC Press Bookstore.

Developing Web 2.0 Applications with EGL for IBM i Developing Web 2.0 Applications with EGL for IBM i
Joe Pluta introduces you to EGL Rich UI and IBM’s Rational Developer for the IBM i platform.
List Price $39.95

Now On Sale

WDSC: Step by Step WDSC: Step by Step
Discover incredibly powerful WDSC with this easy-to-understand yet thorough introduction.
List Price $74.95

Now On Sale

Eclipse: Step by Step Eclipse: Step by Step
Quickly get up to speed and productivity using Eclipse.
List Price $59.00

Now On Sale

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: