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

March 26, 2010 | Volume 7 Issue 12


TOP STORY: The CL Corner: Support Variable-Length Parameters with Commands
FEATURED ARTICLE: IBM CloudBurst Offers Cloud Services Literally in a Box
NEWS HIGHLIGHT: COMMON Announces New Fall Conference and Expo
FORUM: Help! Adding Images to an Overlay
BLOG: System i Management Tips

Manage Subscription | Contact Us

Feature Article - Programming
The CL Corner: Support Variable-Length Parameters with Commands

We continue our quest for reusable code with CL.

bruce_viningWritten by Bruce Vining

In the previous CL Corner column, "Create Reusable Code," we created the TRMLFTCHR command. This command accepted a 10-byte character variable whose value was a numeric representation such as returned by the CHGVAR command when converting a TYPE(*DEC) CL variable, removed any leading zeros found in the numeric value, and returned the remaining character string left-adjusted and blank-padded. In this article, we will look at how to enhance the TRMLFTCHR command to support a CL character variable of virtually any length.


Feature Article - Application Software
IBM CloudBurst Offers Cloud Services Literally in a Box

Services and hardware complement each other to get enterprises up and running in a cloud environment.

chris_smithWritten by Chris Smith

Stephen King wrote a short novel called The Mist about New Englanders trapped in a supermarket enshrouded in fog that hides dangerous creatures. I can't help but think of this story when I read IBM literature about the cloud.


MC Industry Blogs

BLOG: System i Management Tips from Vision Solutions, Inc.


Latest Posting: 01/29/10 How to determine the jobs or objects responsible for generating journal entries in a journal receiver?

12/17/09 How to search for text in a file at the member level

11/20/09 Simplify replication of devices between two systems by matching hardware resource names

10/21/09 Know the impact of using the ENDJOBABN command

10/2/09 How to rapidly set up a network printer using IBM Personal Communications


In the News

Support MC Press - Visit Our Sponsors

Forums Sponsor



 Search Sponsor