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

April 2, 2008 | Vol 7 Issue 7


In This Issue:

>> V6R1 SQL ILE RPG Precompiler Enhancements

>>Calculate Begin and End Dates for Any Month

Sponsor - T.L. Ashford & Associates
 T.L. Ashford is “The Labeling Answer”® for the System i.
Ashford's Barcode400 has been the dependable choice for the industry since 1983. With Barcode400's newly enhanced Graphic Designer no “green screen” interaction is needed for label design. New features include: AFP/HP-compatible printing, easy-to-use graphics import tool, test print to desktop printer, simple font download tool, updated drivers and format listing reports. Even compliance labeling is made easy with design templates. Call 800-541-4893 to order a FREE DEMO CD or visit us at  T.L. Ashford & Associates.


Feature Article - Programming
V6R1 SQL ILE RPG Precompiler Enhancements

Variable scoping support, the ability to take a source stream file as input, increased LOB limits, and so much more!

By Gina Whitney

If you have been using the SQL ILE RPG precompiler for many releases, you probably know that it does not fully support all the features that the compiler offers. In V5R3, enhancements were made to the precompiler to support commonly used compiler features. These enhancements were the beginning of a precompiler revolution. The gap between the precompiler and the compiler is narrowing, embedding SQL into programs is becoming more seamless, and attitudes about the precompiler are changing.


Feature Article - Programming
Calculate Begin and End Dates for Any Month

Need to calculate the dates of the first and last days of last month or any month? See how easy it is in RPG IV.

by Sam Lennon

It's fairly common that you need to calculate the dates of the first and last days of a month to print in report headings, show on screens, or select data. It is usually last month, but it could be next month or the last three months or whatever the customer requests. Date arithmetic in RPG IV makes it very easy to calculate past and future dates and date ranges. There are three simple rules, and it doesn't matter how you store dates.


Support MC Press - Visit Our Sponsors


 Popular Forums





   Search Sponsor