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

June 15, 2011 | Volume 10 Issue 12


TOP STORY: Optimize Your RPG Code to Run Faster Using Static Variables
FEATURED ARTICLE: The API Corner: So You Want to Know About Display Files
NEWS HIGHLIGHT: Quiterian Announces Release of DDWeb 3.0 BI Analytics Platform
WHITE PAPER: What Authorities Do Programmers Really Need?
FORUM: QNTC Linked Directory Disappears After IPL
Manage Subscription | Contact Us

Sponsor - Business Computer Design Int'l, Inc.

Anyone can rapidly create PHP web apps with WebSmart! Watch a short video and see why WebSmart PHP is the fastest way for RPG, PHP and other programmers to develop web apps over DB2 and other databases. WebSmart's intelligent templates and wizards create HTML and PHP for you and guide you through creating fully functional PHP apps in minutes. You can customize the 100% non-proprietary PHP code to create any type of web app. Unlimited technical support. Watch the Video or Download a Free Trial


Feature Article - Programming
Optimize Your RPG Code to Run Faster Using Static Variables

Take advantage of global, static, and non-static variable attributes within subroutines and procedures.

tom_snyderWritten by Tom Snyder

IBM has always been good at giving us all the tools that we need in one box and ensuring that they run on the box reliably and efficiently. Since RPG has evolved into the ILE environment, we have been given more capabilities in the realm of modular coding and encapsulation. With these new capabilities, you have to learn about what you're gaining, what you're losing, and what all the nuances are of the different coding styles. In this article, I intend to describe the scoping and attributes of variables with RPG procedures.


Feature Article - Programming
The API Corner: So You Want to Know About Display Files

The QDFRTVFD API provides pretty much everything you could want to know about a display file.

bruce_viningWritten by Bruce Vining

When developing an application program, I tend to avoid hard-coding program values such as the limit value of a FOR operation. For instance, rather than hard-coding a FOR X TO 10, I might replace the 10 with an appropriate built-in, such as %size(Y), %len(Y), %elem(Y), etc. If Y has to double in size in the future, I much prefer changing the definition of Y and allowing a recompile of the program to take care of the details of loop control rather than having to search through the code and perhaps changing one or more occurrences of 10 to 20.


In the News

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor