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

February 17, 2010 | Volume 9 Issue 4


TOP STORY: Advanced Integrated RPG: Using Java with RPG
FEATURED ARTICLE: The API Corner: More on Sending Messages from an Application Program
ADVERTORIAL: Partner TechTip: In Tough Economic Times, How Can You Get Training?
MORE NEWS: MC Press Releases Advanced Integrated RPG Modernization Book
FORUM: FTP with Variables

Manage Subscription | Contact Us

Feature Article - Programming
Advanced Integrated RPG: Using Java with RPG

Create a Java "Hello World" program with RPG.

tom_snyderWritten by Tom Snyder

Editor's note: This article is excerpted from the MC Press book Advanced Integrated RPG.


Welcome to Advanced Integrated RPG (AIR), where RPG and Java work together to provide RPG with all of the capabilities that Java has to offer. This article contains excerpts from my new book that will show you how to start the Java Virtual Machine (JVM) and display "Hello World" in RPG. This is a prerequisite to the upcoming article that will show you how to create PDFs from RPG!


Feature Article - Programming
The API Corner: More on Sending Messages from an Application Program

Learn how to send program messages based on an API error code structure.

bruce_viningWritten by Bruce Vining

In the previous article, "Inform Users of Problems by Sending Error Messages from Application Programs," the Send Program Message (QMHSNDPM) API was used to send a user error message indicating that a severe error had been encountered. In this article, the QMHSNDPM API will also be used, but now to send a system-related error message followed by a user error message.


As a review, back in "What to Do with Messages in the Application Program," we saw how to call a system API with the sending of error messages disabled. The scenario used was determining if an object existed by calling the Retrieve Object Description (QUSROBJD) API  and, if an error was returned in the API error code data structure, handling the error in an appropriate way. The code shown at that time was this:


Advertorial - System i Developer
Partner TechTip: In Tough Economic Times, How Can You Get Training?

In the current recession, education is often the first thing cut from the budget. We find this reaction not only shortsighted but completely insane.

JonParis_SusanGantnerWritten by Jon Paris and Susan Gantner

We at System i Developer are professional educators in the business of training IBM i developers via both onsite classes and conferences such as the upcoming RPG & DB2 Summit. We also have years of experience working with companies that have excellent ongoing training programs and companies that don't, and we've seen the differing degrees of success of those companies.


So how can you get training for yourself or your staff when the times are against you? The first step is to be able to articulate the payback.


In the News

Support MC Press - Visit Our Sponsors


Forums Sponsor





Search Sponsor