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 11, 2015 | Volume 10 Issue 3


TOP STORY: Controlling RPG Program Flow with If/Else/Elseif/Endif
FEATURED NEWS: Deploy IBM i DB Changes in Minutes with MDRapid and Midrange Dynamics Change Management Version 7.3
NEWS HIGHLIGHT: New IFS Replication Architecture Ensures Maxava HA Continues to Outpace Volume Growth
MC PRESS BOOKSTORE: Best Selling Titles
EVENT: The RPG & DB2 Summit - Spring 2015
MC VIDEO PORTAL: Introduction to Configuring iAccess Servers to use SSL

Sponsor - The MC Press Bookstore

Have you heard? RPG is now fully free-format! This latest edition from RPG expert Jim Martin is your one-stop resource for free-format information. It’s a must-read for all RPG programmers, featuring completely updated code. See the new H, F, D and P specs in action in this easy-to-use reference guide. You’ll learn rules and syntax but also grasp how this modern style of coding can improve your overall productivity--from initial development through maintenance. Get your copy today!


Feature Article - Programming
Controlling RPG Program Flow with If/Else/Elseif/Endif

Four free-format operations help you construct programs that execute conditional logic in a structured way.

jim martinWritten by Jim Martin

Editor's Note: This article is an excerpt from Chapter 6, "Program Flow Using Free Format," of Free-Format RPG IV, 3rd Edition (MC Press, 2015) by Jim Martin.

In nearly every program you write, you need to control the flow of instructions. Free-format RPG IV offers experienced RPG programmers a new style for controlling program flow. In this article, we look at the operations available for controlling flow in free format through conditional logic: If, Else, Elseif, and Endif.


Sponsor - The MC Press Bookstore

An old dog can learn new tricks! Flexible Input, Dazzling Output with IBM i is full of clever ways to get data into your IBM i system, as well as new techniques to export and present this data in a modern, business-friendly manner. No more boring spreadsheets or ugly printouts! Your DB2 data will look great in program-generated spreadsheets and browser-based, interactive charts. Whether you’re an old dog or not, you’ll get the most out of your ILE RPG programs with the open source, free tools in this smart new release! Order your copy today!


Featured News
Deploy IBM i DB Changes in Minutes with MDRapid and Midrange Dynamics Change Management Version 7.3

A new solution from Midrange Dynamics substantially reduces business application downtime and risk when deploying database changes across the enterprise.


Sponsor - NEUGC

25th Annual Northeast IBM i User Groups Conference

March 30 – April 1, Framingham, MA

The Power of i

- Super Charge Developer Productivity

- Empower User Data Access

- Modernize Your Apps and Database

- Enhance Your Skills

70+ sessions; NEW topics for 2015; top industry speakers; in-depth seminars; vendor expo

Register Today

Only $550 WITH Monday seminar! View Conference Brochure


Most Popular MC Press Titles

Best-Selling MC Press Titles

  1. RPG TnT
  2. SQL for eServer i5 and iSeries
  3. Flexible Input, Dazzling Output with IBM i
  4. Subfiles in Free-Format RPG
  5. Programming in RPG IV
  6. Advanced Guide to PHP on IBM i
  7. Free-Format RPG IV
  8. The Chief Data Officer Handbook for Data Governance


In the News

Vendors:  Have a press release to share?  Send it to MC Press.

The Latest from IBM

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor



MC Video Portal

MC Video Portal

Introduction to Configuring iAccess Servers to use SSL


Due to popular demand, Carol has updated her presentation on configuring iAccess to use SSL sessions to include, not just the step-by-step configuration guidance but also a discussion on the benefits and challenges of using certificates from a well-known CA (Certificate Authority) vs a self-signed certificate as well as practical tips for enterprise implementation.