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 1, 2011 | Volume 10 Issue 11


TOP STORY: Practical RPG: Accessing LDAP
FEATURED ARTICLE: When CCSID Constants Vary, Part II
NEWS HIGHLIGHT: OCEAN User Group Announces July 22 Technical Conference, Expo
FORUM: Help! Trouble with SNDDST
BUYER'S GUIDE: Maxava HA Enterprise and Barcode 400 
Manage Subscription | Contact Us

Feature Article - Programming
Practical RPG: Accessing LDAP

Lightweight Directory Access Protocol (LDAP) servers are everywhere in enterprises today, and this article shows you how to access LDAP servers on any platform from RPG.

joe_plutaWritten by Joe Pluta

The IBM i is perhaps the most integrated and integrate-able server platform in the world today. With the exception of a native GUI (which I would argue is not required in a server platform anyway), it's hard to find a modern programming feature that isn't available on the i. Today's article is going to focus on one of those features: Lightweight Directory Access Protocol (LDAP) support. More specifically, it is going to give you a working example program of how to access any LDAP server in your organization from standard RPG.


Feature Article - Programming
When CCSID Constants Vary, Part II

Don't let a small thing like a literal string completely ruin your multi-national program.

jean-paul_lamontreWritten by Jean-Paul Lamontre

The variations of CCSID are a vast topic and are in fact the main issue to consider during globalization of an application. You will find many pages on the Web on this topic (search for Unicode, CCSID, globalization, or national language support). Some of the most interesting are the ones from the IBM i Information Center.


In my previous article, I showed how a simple line of RPG code can turn a program haywire just because the JOB CCSID has changed. In this article, I will explain how to handle literal strings, which are sensitive to CCSID variations.


In the News

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor