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

October 17, 2012 | Volume 11 Issue 19


TOP STORY: PHP and RPG: Together at Last
FEATURED ARTICLE: The API Corner: Performing CCSID Conversions Under Program Control
NEWS HIGHLIGHT: SmartCloud Entry for Power Bundle V2.4 Helps You Quickly Implement Entry Cloud Capabilities
MC STORE: Top 10 Best-Selling Titles
EVENT:  RPG & DB2 Summit Fall 2012 
Manage Subscription | Contact Us



Feature Article - Programming
PHP and RPG: Together at Last

Today is as good a time as any to start.

david shireyWritten by David Shirey

In the previous two articles that I have written for this column, we took at look at what PHP is and does, and how to get started on the road to PHP expertise. Hopefully by now you've had a chance to start getting familiar with PHP syntax and how to create and test simple PHP scripts. And maybe you've even taken your first steps in object orientation by experimenting with creating and using PHP classes. If not, well, don't be too hard on yourself. Just think, today could be the first day of the rest of your life. Never too late to start, you know.


Feature Article - Programming
The API Corner: Performing CCSID Conversions Under Program Control

Learn how to use the iconv() API.

bruce viningWritten by Bruce Vining

For the last two months, in the articles "In Search of System Values" and "Accessing System Values," we've been using the subprocedure ConvertBuffer() to convert the UTF-8 (CCSID 1208) encoded XML output of the Retrieve Command Definition (QCDRCMDD) API to the CCSID of the running job. In those articles, any discussion of the ConvertBuffer() subprocedure was deferred to a later article. This is that "later" article. The source for the subprocedure we'll be discussing is shown below.


In the News



Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor