Susan, one of the top speakers/writers/trainers on IBM i development topics today, is an IBM Champion and partner at Partner400 and System i Developer, the organizers of the RPG & DB2 Summit conference. She is a regular speaker at the Summit and other technical conferences around the world, and she has earned a number of Speaker Excellence medals from COMMON. Susan’s technical articles are frequently found in leading IBM i publications, and she co-authored the popular IBM i Redbook “Who Knew You Could Do That with RPG IV?” Susan started her career with IBM in 1985, went on to work in the AS/400 Technical Support Center for five years, and later moved to the IBM Toronto Software Laboratory to provide technical support for programming languages and AD tools on the AS/400 and iSeries. Susan left IBM in 1999 to devote more time to consulting and teaching.
July 22, 2019 Susan Gantner
When you’ve made changes to one or more programs, you test all the changes – right? And, of course, you also test all the rest of the code just to make sure you didn’t break anything else. Did you do that with your last set of changes? Did you test ALL the code? Enabling you to answer that last question is what RDi’s Code Coverage facility is all about.
This is an introduction to Code Coverage — the basics of both why and how to use it. Before I go into how to run it, it may pique your interest …Read more
July 17, 2019 Susan Gantner
When using RDi for editing my CL, DDS, RPG, or COBOL code, I find that I can save a lot of time by using keyboard shortcuts for functions that would otherwise require that I take my hands off the keyboard to use the mouse. So I thought I would share a few of my favorites. Many of the shortcuts I use are standard for other applications that I also use for email, spreadsheets or text editing. It’s easy to forget that some of those same shortcuts can be used when we’re editing our RPG code.
A lot has changed on …Read more
June 19, 2019 Susan Gantner
A commonly asked question by RDi newbies is: “How do I view source in split screen like I can in SEU?” The answer is that you can’t do it exactly like SEU, but then why would you want to? The RDi editor offers far greater flexibility.
The original version of my tip on this subject was published back in 2007. Back then, the toolset we know as RDi was called “WDSC”. Quite a lot of other changes have occurred within RDi as well. Originally, a specialized perspective was required to make this feature work well. Today’s RDi works well without …Read more
March 6, 2019 Susan Gantner
In my earlier tip I described how to create a custom perspective and I also described one scenario when custom perspectives come in handy. I promised to follow that up with another way to use custom perspectives.
I’m often asked questions such as:
- How do I keep my Outline from disappearing when I’m in full-screen edit?
- How can I see my RPG Indentation view alongside the full-screen editor view of the source member?
Custom perspectives can be used as one answer to both questions.
Of course, when you’re in full-screen edit, you can “peek” at any of your views (such …Read more
February 13, 2019 Susan Gantner
I often talk to people who are confused about RDi perspectives, so I thought this two-part series on why and how to create and use your own custom perspectives would be a good one to update. Very little has changed since the original publication of this first part, but I’ve updated the screen shots and addressed one or two small differences in recent releases. This version assumes you are running at least RDi 9.5
Who needs custom perspectives in RDi? Just about everyone. At least everyone could probably benefit from them. As you know if you’ve read my earlier tips, …Read more
January 16, 2019 Susan Gantner
Author’s Note: This tip was first published in August 2008. One thing that has changed in the intervening 10-plus years is that I find a lot more RPGers regularly using subprocedures now. Something that hasn’t really changed much is that many of those using subprocedures still don’t fully understand the behavioral differences between automatic and static storage. The concepts and handling of automatic versus static storage haven’t really changed. So the only modifications I’ve made for this reprise of the tip is to update the style of the code example.
If you write RPG subprocedures, you should know about the …Read more
October 22, 2018 Susan Gantner
In this tip I’m going to cover a few of the “smaller” features implemented in V126.96.36.199 and …0.4 that I think you should know about. I’ll cover my favorite — the Edit/Browse toggle feature — as well as some enhancements to Block Nesting. I’ll also follow-on to my last tip about the PDM affinity features in the Object Table — the PDM perspective — plus a few more little goodies.
A quick hint for you on the subject of exactly what new features became available within RDi and when: If you ever want to see a complete list of new …Read more
September 5, 2018 Susan Gantner
Author’s Note: This is the second update I’ve done to a tip I originally wrote back in 2008. In 2010, I updated the code to use SORTA with array data structures. Here in 2018 I’m updating it once more — this time to use free-form declarations in place of the D specs, including a more obvious way to code the nested data structure used in some of the examples and references to more recent tips for handling very large arrays. The 2010 version was entitled “. . . A 7.1 Update.” I’ve renamed this one as “. . . A …Read more
August 29, 2018 Susan Gantner
Author’s Note: The original version of this tip first appeared in March 2007. That was three renames ago for the toolset we now know as RDi. (It was WDSC then). Although RDi has seen many significant enhancements in the intervening years, not much about starting a debug session has changed. But the number of RPGers now using RDi for editing their code has grown dramatically, and many recent converts still struggle with getting a debug session started. So I think this tip bears repeating — with some name changes, updated images and relevant functional updates here and there.
I had …Read more
August 1, 2018 Susan Gantner
Author’s Note: This tip was first published back in 2009. I’ve updated the code examples here to use free format declarations. In addition I’ve added the potential use of %ScanRpl, which didn’t exist at the original publication date.
More and more in RPG applications these days, it seems we need to process data that comes from “the dark side.” Translation: from a non-i system. This data could be coming from a browser screen via an RPG CGI program, from a CSV (comma-separated values) flat file, from an XML or JSON document, or myriad other ways. One thing these dark sources …Read more