MAGAZINES

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

August 17, 2011 | Volume 10 Issue 16

ISSUE HIGHLIGHTS

TOP STORY: Don't Be Misled by SETLL *LOVAL
FEATURED ARTICLE: The API Corner: Determining the Last Spool File Created
NEWS HIGHLIGHT: Healthcare Providers Boosting IT Staff Ranks
FORUM: How to Reprint a Subset of Labels in an OUTQ
BUYER'S GUIDE: SpoolFlex Electronic Report Conversion, Distribution and Archiving
Manage Subscription | Contact Us

Feature Article - Programming
 
Don't Be Misled by SETLL *LOVAL

Be careful when using SETLL *LOVAL on keyed access paths containing numeric key fields.

junlei_liWritten by Junlei Li

Almost every RPG programmer has become accustomed to setting the file pointer to the starting position of a logical file by specifying the SETLL (Set Lower Limit) RPG operation code with figurative constant *LOVAL as the search argument operand, or similarly, setting the file pointer to the end of a logical file by specifying SETGT (Set Greater Than) with *HIVAL. The SETLL *LOVAL technique worked perfectly for decades, doing exactly what we RPG programmers expected. But is it always to be trusted everywhere?


Read More >>

Feature Article - Programming
 
The API Corner: Determining the Last Spool File Created

The QSPRILSP API can simplify your access to a job's most recent spool file.

bruce_viningWritten by Bruce Vining

Last month, in "Just How Many Spool Files Do You Have?," we looked at the Retrieve Spool Information API QSPSPLI. I received quite a bit of feedback on the article—some suggesting a follow-on topic, others reporting a problem they were running into.


Read More >>

In the News

Read More >>
Support MC Press - Visit Our Sponsors

Forums Sponsor

POPULAR FORUMS

Forums

Search Sponsor

POPULAR SEARCHES

Search


Read More >>
   MC-STORE.COM