Click
here for printable order form
You can use this form to assist you in ordering this course. Fill out
the information and mail it along with your check to the address provided. Or if you prefer to pay by credit card provide the required information and fax the order form. In either case call us so that we can assemble your course and ship it upon receipt of your payment.
Moving from RPG III to RPG IV and on to RPG /FREE
by Joe Pluta
It's hard to believe but it's been over a decade since IBM introduced ILE RPG, and yet companies are still using RPG III coding techniques -- or worse! V6R1 is just around the corner; are your RPG skills still in the last millenium? What will you do if IBM decides to unbundle support for older compilers? Are you willing to pay extra just to be able to still write old code? Or are you ready to move forward into the next generation of RPG programming?
My new training course, RPG Modernization with WDSC (from III to IV to /Free), is the best way to modernize not only your applications but your skills as well. The first in a library of RPG modernization techniques, this course will help you bring your existing RPG III applications forward to RPG IV, and then continue on to the new world of free-form RPG programming: more productive, more powerful and more proficient. Unlike conversion tools, this library is designed to help you understand the "why" behind the conversion steps, so that your skills are upgraded along with your code.
This course builds on the WDSC tooling from IBM. WDSC is simply the best development environment available to RPG programmers, and this course takes advantage of that tooling and even provides you with examples of advanced techniques that aren't available anywhere else. And this course isn't just for RPG III developers! Using a unique two-phased approach, RPG Modernization with WDSC first moves your RPG III code into RPG IV syntax, and then shows you how to take RPG IV syntax and transform it into free-form RPG - so even if you've already made the move into RPG IV, this course will still help you on your way to /FREE. (And don’t worry if you’re not a WDSC expert; we include a chapter to help you set up your WDSC workbench like a pro!)
First: Moving from RPG III to RPG IV
Removing the MOVE Instruction
The single biggest change in free-form RPG is the deprecation of the MOVE opcode. In order to get you ready for the new MOVE-less world, the first thing you need to know is how to use the new EVAL opcode to replace all of your old MOVE instructions.
No More Arithmetic!
The arithmetic instructions, including Z-ADD and Z-SUB, as well as the traditional calculation instructions like ADD, SUB, MULT, DIV, these all need to be replaced by EVAL instructions as well.
Date Formatting
No more MULT 100.00001! And no more messy data structures or any of the other time consuming and error prone date manipulations. Learn how to use the powerful date-related built-in functions to make darte manipulation simple and straightforward.
Compile-Time Arrays
One of the last vestiges of the old 80-column card days, compile-time arrays need to go the way of the dinosaur. Learn how to replace them with powerful D-spec constructs.
Say Goodbye to Indicators
Perhaps the single most important part of this phase of the course is learning how to rid yourself of indicators, specifically the indicators used to communicate with your display file, and those used for other forms of file I/O. By the time you are done, the only standard indicator left in your program will be *INLR.
Now on to Moving from RPG IV to RPG /Free
Get Rid of RPG III Syntax
Two major holdovers of RPG III just aren't supported anymore in free-form RPG; calling programs via CALL/PARM and the very powerful CASxx/ENDCS flow control construct. PARMs are also used in *ENTRY PLISTs, but this course will show you how to get rid of PARMs via the prototype. This is not only a move into free-form RPG, but also your first introduction to the world of ILE RPG (look for more in later installations of the series). Also see how to repalce the unique proprietary CASxx with the more standard and even more powerful SELECT statement.
Convert to Free-Form
Now that you've moved all your syntax into the next generation, you can reformat it using the powerful capabilities of WDSC. Learn how to use regular expressions, filters and case conversion to update the look and feel of your source, not to mention the powerful free-form conversion utility built right into WDSC.
Remove KLISTs
Now that you have room, it's time to remove those KLIST constructs. Like PLISTs, KLISTs were very powerful in their day but now there's really no reason not to use the alternatives, especially the inline field list. Powerful and self-documenting, this new syntax is a great boon to developers.
Other Bits and Pieces
Take a pass back through your code and do a little last-minute cleanup, whether it is cleaning up case or making expressions more readable, these little tidbits help you polish your code. Once you're done, you'll be ready to tackle the next phase of development, whether that's SQL in your shop or ILE.
One final note: To get your base skills ready for the new generation of RPG programming, get your copy of RPG Modernization with WDSC. You'll be more productive for less cost, and gain essential new programming skills at the same time.
RPG Modernization with WDSC (from III to IV to /Free)
Author: Joe Pluta
$495
Click
here for printable order form
You can use this form to assist you in ordering this course. Fill out
the information and mail it along with your check to the address provided. Or if you prefer to pay by credit card provide the required information and fax the order form. In either case call us so that we can assemble your course and ship it upon receipt of your payment.