Over the past few years, the style of my RPG programs has changed dramatically in many ways. One of the core changes is the way I use memory in programs. Historically, I would minimize the use of memory, but now I go to the opposite extreme and use memory as much as possible. For example, if I was writing an order entry program, instead of maintaining order details on the database as they are entered, I would store the complete order in memory and write it to the database when the order is complete.
What would be required to reverse the order of displayed call stack entries? In this article, we'll look at one way to accomplish this.
By Bruce Vining
When we left off in the previous article, "The API Corner: Retrieving Information, Part II," we were successfully displaying the call stack of the current thread, with the current procedure being shown at the top of the listing. But various system functions, such as the Display Job (DSPJOB) command, show the call stack with the initial program or procedure first and the current procedure last. To mimic this behavior, what would be required?
Do you want to harness the power of PHP or Java but find it difficult to stop everything and learn these technologies?
By Scott Salisbury
Lots of books and training materials are available for Java and PHP, but the best education is seeing these languages as they interact with your own data. When developers decide to learn a new language, one of the first questions that occur to them is along the lines of, "How do I use Java (or PHP, or whatever) to access my own data?" There is something very meaningful and ultimately educational about seeing a new language wrapped around your own tables and columns. It helps bridge the gap between the known and the unknown in a very tangible way.