Modernization means different things to different people-- BCD's ClearPath Modernization Suite solves that!-- Instantly Web Enable 5250 apps -- Develop new System i & multi-platform web apps in PHP or ILE. -- Build Web Portals for employees & clients... -- Modernizing is Way Easier & More Affordable with BCD.
Prototypes: For All Calls, All the Time Utilizing the full capabilities of prototypes can make your life as a programmer easier and make your programs more bulletproof.
By Susan Gantner
With the use of free-format (aka /Free) RPG logic becoming more and more popular, many shops are beginning to utilize prototypes for their program calls because the CALL operation code is one of those that doesn't work in free-form. This is a movement to which I say, "It's about time!" For far too long, many shops have used prototypes only with subprocedures. Even with this upswing in the use of prototypes, however, I've found that many programmers are still not taking advantage of all that prototypes have to offer.
This is the second of two articles discussing the basics of working with API-related data.
By Bruce Vining
When we left off in Part I, we were just calling the Retrieve Call Stack API, QWVRCSTK, for the first time. The program being discussed is repeated below. If you would like to review the API documentation, it can be found here.