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



Sponsor - T.L. Ashford & Associates

Barcode400 Labeling Software makes it easy for IBM i users to design and print labels in minutes.

T.L. Ashford has over 28 years of experience in software development and backs that commitment with a highly qualified technical support team.

You can count on T.L. Ashford for your bar code, compliance and RFID labeling needs. Call 800-541-4893 to see what Barcode400 Software can do for you or use the Live Chat feature at


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.


Sponsor - Business Computer Design

Join Bob Cozzi for this FREE webinar

Making the Business Case for Web Enabling Your Green Screens

Web enabling your green screens is the fastest way to change the perception that your IBM i is outdated. Attend this webinar to learn:


•  The top 5 reasons to web enable

•  How to overcome possible objections

•  The importance of supporting mobile devices

Also see how BCD’s Presto instantly gives your green screens a modern web GUI and offers the most flexibility to add new functionality.  

Learn how to make the business case - View now!


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.


Most Popular MC Press Books

Top 10 Best-Selling Titles

  1. RPG Lover's Bundle
  2. Programming in RPG IV
  3. IBM System i APIs at Work
  4. The Programmer's Guide to iSeries Navigator
  5. Leadership in My Rearview Mirror
  6. Subfiles in Free-Format RPG
  7. The IBM i Programmer's Guide to PHP
  8. Mastering IBM i
  9. Functions in Free-Format RPG IV
  10. The Modern RPG IV Language 


In the News



Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor