Loading…
The largest IBM i-related conference event in the world, bringing together the community of users, IBM, industry experts and solution providers.
Thursday, April 27 • 2:45pm - 3:45pm
446: What Can RPG Prototypes Do for You

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Everyone who uses free-format RPG knows the basics of using prototypes to replace their old parm lists for program calls. However many RPGers don't realize just how much prototypes can do for them.
In this session, Susan reviews prototype basics but will concentrate mostly on exploiting their often-overlooked features. She'll even look at how much some of the hot-off-the-presses enhancements from IBM can simplify things.
Did you know that prototypes:
• Protect against parameter mis-matches
• Provide automatic conversion of parameter types and sizes
• Enable passing literals, built-in functions or function calls as parameters
• Allow you to specify optional parameters
• Enable you to call C functions and system APIs that return values
We'll also look at how to exploit these features of prototypes effectively, including examples of the right way for called programs (or procedures) to safely handle optional parameters.

Speakers
avatar for Susan Gantner

Susan Gantner

IBM i evangelist, Partner400 & System i Developer
Susan's 30+ year career began as an application programmer for companies in Atlanta, Georgia, working on a variety of hardware and software platforms. She joined IBM in 1985 and developed a close association with the Rochester lab during the development of the AS/400 system. Susan... Read More →


Thursday April 27, 2023 2:45pm - 3:45pm MDT
Governors Square 12