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 19, 2014 | Volume 13 Issue 3


TOP STORY: More Free-Form for RPG
FEATURED ARTICLE: The API Corner: Determining How Many and What Jobs Are Currently Active
NEWS HIGHLIGHT: mrc Adds Improved Charting to m-Power
MC PRESS BOOKSTORE: Top 10 Best-Selling Titles
EVENT: Introduction to RPG IV Programming 

Sponsor - T.L. Ashford & Associates

Barcode400 Labeling Software makes it easy for IBM i users to design and print labels in minutes.

T.L. Ashford has over 30 years of experience in software development and backs that commitment with a highly qualified technical support team.

You can count on T.L. Ashford for your bar code, compliance and RFID labeling needs. Watch our video to see what Barcode400 Software can do for you. Call 800-541-4893 or use the Live Chat feature at


Feature Article - Programming
More Free-Form for RPG

Heard about the new positionless RPG support that's coming out for V7.1? No? OK, then have you heard about Pluto? That's messed up. But we're going to focus on just the former.

david shireyWritten by David Shirey

If you're not already using positionless RPG, the so-called RPG /free, then what are you waiting for? It's easy to learn, and just the ability to indent and re-indent (which makes it so much easier to see the structure and flow of your program) is enough to make you switch from COPR (Crappy Old Positional RPG). And there's lots more in /free to take advantage of. You can easily be up and running with it in a week or so. The most difficult thing is taking that first step and typing a line of code without the starting C.


Sponsor - NEUGC

24th Annual Northeast IBM i User Groups Conference

April 7 – 9, Framingham, MA


Get Connected with i 


  • Connect with mobile devices
  • Connect to DB2/400 data
  • Connect to LANs, SANs & the Internet
  • Connect with your peers

70+ sessions; NEW topics for 2014; top industry speakers; in-depth seminars; vendor expo. Register before March 7 and save.

Only $550 WITH Monday seminar! View Conference Brochure

Sponsored By
Northeast User Groups Conference


Feature Article - Programming
The API Corner: Determining How Many and What Jobs Are Currently Active

Today, we'll extend our API suite using the List Jobs System API.

bruce viningWritten by Bruce Vining

In the last API Corner article, "Determining Whether Jobs Are Currently Active," we created the service program (*SRVPGM) JOBCHKS. The *SRVPGM exported the function JobActive, which defined one input parameter and returned an indicator. The input parameter could be a simple job name such as DAYEND, a generic job name such as DAYEND*, or a special value such as *CURRENT. If one or more jobs with the specified job name was active, JobActive returned an indicator value of '1'; otherwise, it returned a value of '0'. In this article, we will extend JOBCHKS with another API of our own creation. This API, named JobsActive, will return the number of active jobs with the specified job name and optionally return one or more of the fully qualified job names matching the specified job name.


Sponsor - The MC Press Bookstore

Functions getting you down? RPG expert Jim Martin will rescue you with his helpful guide! Functions in Free-Format RPG IV will build upon your free-format education and teach you how to generate RPG IV programs with functions in the free-format style. This book has everything you need to know about subprocedures, ILE concepts, C functions, and IBM APIs to produce highly modularized programs. You’ll even learn how to write your own custom BIFs. Get your copy today!


Most Popular MC Press Titles

Top 10 Best-Selling Titles

  1. Database Design and SQL for DB2
  2. Free-Format RPG IV
  3. IBM i Security Administration and Compliance
  4. Mastering IBM i
  5. Programming in RPG IV
  6. Fundamentals of Technology Project Management
  7. DB2 10 for z/OS Database Administration (Exam 612)
  8. Big Data Governance
  9. IBM Mainframe Security
  10. Selling Information Governance to the Business



In the News

The Latest from IBM

Support MC Press - Visit Our Sponsors

Forums Sponsor



Search Sponsor