MC Systems Insight
MC Power Technology Manager
MC RPG Developer
MC Power Developer
MC TNT Tips 'n Techniques
MC AIX Expert
MC Linux Expert
MC Mobile on Power
This Week @ the MC Press Bookstore

May 21, 2008 | Vol 7 Issue 10


In This Issue:

>> Those Weird and Wonderful Arrays

>> The API Corner: Retrieving Information, Continued

>> Partner TechTip: Get Productive with PHP and Java in Just Two Minutes!

Feature Article - Programming
Those Weird and Wonderful Arrays

Maximize the use of memory by using arrays.

paul_tuohy.jpgBy Paul Tuohy

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.


Feature Article - Programming
The API Corner: Retrieving Information, Continued

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.

bruce_vining.jpgBy 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?


Advertorial - Pinch Hitter Solutions
Partner TechTip: Get Productive with PHP and Java in Just Two Minutes!

Do you want to harness the power of PHP or Java but find it difficult to stop everything and learn these technologies?

scott_salisbury.jpgBy 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.


Support MC Press - Visit Our Sponsors


 Popular Forums



   Search Sponsor


 Popular Searches