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

November 20, 2013 | Volume 12 Issue 22


TOP STORY: PHP: Variables, Arrays, and Functions: The Final Chapter
FEATURED ARTICLE: The API Corner: Verifying That Nothing Has Changed, Part 2
NEWS HIGHLIGHT: Jelastic Teams with OpenShift to Drive Standardization of PaaS Cartridges
FORUM: Convert C Prototype to RPG
TRIAL SOFTWARE: TRY MarkMagic to Solve All Your Document Design and Printing Challenges
EVENT: THE FUTURE OF RPG: The next evolution of RPG development

Sponsor - ASNA

You have a highly qualified mobile programming team and probably don’t know it! ASNA Mobile RPG enables RPG programmers to create IBM i mobile applications for smartphones and tablets using only RPG—with no other technologies to learn. In the time it would take you to explain your mobile app requirements to high-dollar mobile consultants, your RPG team can have the job done with Mobile RPG!  

Learn more about ASNA Mobile RPG at our free Webcast Thu, Nov 21, 1pm CST or at


Feature Article - Programming
PHP: Variables, Arrays, and Functions: The Final Chapter

This is the last step in understanding how variables, arrays, and functions are similar, are different, and come together to form the basis of the PHP universe.

david shireyWritten by David Shirey

So far in this series, we have covered variables and arrays. Granted, it took us three months to cover arrays and how to display them, but let's not worry about that now.

In the process, we saw that variables were preceded by a dollar sign ($) and consisted of underscores plus any alphanumeric digits (that is, no special characters) as long as the first character after the $ was an underscore or alpha. We saw that we did not have to specify what the data type was or what the field looked like. Instead, that was determined by the type of data we put in that variable. And speaking of data types, we saw that a PHP variable could be an integer, string, floating point, object, resource, Boolean, or array.


Sponsor - ProData Computer Services

You've Got Mail!

Convert Spool File to Email (Splf2EML) allows you to convert your simple spooled output to a PDF file and automatically email it to a list of up to 15 recipients. Pick one spool file or multiple spool files to be merged into one PDF document. Contact us today at for pricing and to get your copy of Splf2EML! or call 800.228.6318


Feature Article - Programming
The API Corner: Verifying That Nothing Has Changed, Part 2

Explore more options with the Calculate Hash API.

bruce viningWritten by Bruce Vining

Last month, in Verifying That Nothing Has Changed, we saw how easy it can be to create a hash over a string such as 'Some data to be hashed' by using the Calculate Hash API. We also saw how the calculated hash value is very dependent on what data is being hashed. Something as simple as a trailing blank or a punctuation change can cause significant changes in the derived hash value. Today, we'll look at some options on how we can hash data, and we'll see that agreement between the generator and verifier of the hash value on the how is not nearly as important as the what.


Sponsor - The MC Press Bookstore

Functions getting you down? RPG expert Jim Martin will rescue you with his helpful guide! Functions in Free-Format RPG IV will build upon your free-format education and teach you how to generate RPG IV programs with functions in the free-format style. This book has everything you need to know about subprocedures, ILE concepts, C functions, and IBM APIs to produce highly modularized programs. You’ll even learn how to write your own custom BIFs. Get your copy today!


In the News

The Latest from IBM

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor