About Free RPG/i5 (AS400) Tools
These RPG/i5 (AS400) Tools are a collection of software utilities that I have gathered over the past 30+ years. Some of them can trace their roots all the way back to the S/34. Many of them were written on the AS400 was the AS400 and not the i5, IBM System i, or whatever they are calling it today. I have steadily improved and added to all of them as the AS400 grew into the machine it is today. Most of them I have written myself, some of them were written by friends & co-workers. These tools are provided for free & are distributed as source only. You'll need some knowledge of ILE & service programs in order to compile many of these programs. I have included a readme file with each tool that gives basic instructions on how to compile the software, but each environment is different & you may need to make some modifications (depending on your AS400/OS400 operating system version) to make the tools work for you. Some of these tools are very specific for a single AS400 need, but most are pretty broad. I have always tried to make the code as generic as possible (using variables instead of hardcoding) when I wrote them. I usually try to use APIs & I almost never use CL (I have nothing against CL, I just prefer RPG on the AS400). Over the years I have tried to keep the tools updated with the latest code changes(ie..RPG ILE, BIFs, AS400, iSeries, i5), but some of the tools are just not worth spending the time. I have tried to name the commands with different than OS/400 commands(ie.. GET instead of RTV) to avoid any conflicts. Many of these tools duplicate the functions that were once done by the old TAATOOL software (which were free on the AS400) utilities. Because those tools are now licensed, I have since replaced their function (at least the ones I was using) with my own utilities. In some cases, the tool names are still the same as the ones that TAATOOL used & therefore could cause issues if you still have any of them on your current IBM system. Please remember that these tools are meant as reference & to help you create your own software. They can of course be used as is, but please make sure that you understand what they are doing before you try to use them. Many of these tools use API and other lower level functions that could cause un-predictable results if not properly used. No one is perfect & programs can have bugs, protect your system at all times with backups!

This software is being distributed as is, with no warranty, expressed, written, or implied.

Most of the tools/programs on this site are for the iSeries (AS400), but some are for other platforms such as Windows & DOS. They are for the most part related in some way to the iSeries (AS400), but not always. Most tools/utilities that I put on the site for the iSeries (AS400) usually include source. In some cases I have found software that I just have found particularly useful and put on the site.
You are welcome to upload any software you wish. I would prefer it to be iSeries (AS400) related & to be in source not object (so others can learn from it). Please remember if you do upload something, if you don't give me your name & other pertinent information I won't be able to give you credit for it.
Contact Us Via E-Mail
Reply to : 
Your name : 
Subject : 
Free RPG/i5 (AS400) Utilities - Uploads
Please remember some utilities require other tools to exist before you can compile. Please check the source members before trying to compile. If you need other tools, they can be downloaded here .

Links to Free RPG/i5 (AS400) Tools's partners & friends
This page contains links to sites that operate independent of Free RPG/i5 (AS400) Tools & we are not responsible for their content. Although we attempt to maintain a high standard for the sites we partner with, occasionally things change without our knowledge. Please inform us if a link is broken or the content of a website no longer fits the description that is represented here.

If you would like us to add your page here, just send us the link and description (long and short) VIA the contactus button.
Free RPG/i5 (AS400) Tools - Mission
These tools are intended to be used for your reference & are licensed as freeware. They are not meant to be end all, be all utilities. You may use these tools in anyway you wish. Commercial or other non-personal use is ok, just as long as you leave the copyright & author information intact. Instead of re-distributing this software, please link to this site. You can get examples of links Here .

Most of them have been written using Free Format RPG IV/ILE (RPG Free) & many of them utilize my own service program ( ISTPRCR ). This service program is contains several common procedures that I have written. Some of the procedures that are included are:
  1. Center - Center text in a variable
  2. ObjText - Retrieve the text of an object
  3. LCase - Convert Text to lower case (Using the system language)
  4. UCase - Convert Text to upper case (Using the system language)
  5. ExecuteCommand - Run an RPG/i5(AS400) command using the QCAPCMD API
  6. CheckCommand - Validate & return the proper syntax of a command using the QCAPCMD API
  7. SystemValue - Return an oprerating system value using the QWCRSVAL API
  8. SndPgmMsg - Send a Program Message using the QMHSNDPM API
  9. SndUsrMsg - Send a User Message using the QMHSNDM API
  10. MbrText - Retrieve a member's text using the QUSRMBRD API
  11. RtvSysName - Retrieve the RPG/i5(AS400) system name using the QWCRNETA API
  12. FileInfo - Retrieve physical file information (records, size, etc..) using the QUSRMBRD API
These are just some of the procedures that are included with each download. Plus more are always being added.

These RPG source samples/examples are designed to be generic in nature & very little hard coding has been used. In all cases I have used RPG IV & in most I have used Free Format RPG.

I have tried to take advantage of the AS400 system APIs & built in RPG IV/ILE functions (BIFS) wherever possible. You are encouraged to modify the source to suit your needs & to learn from my mistakes. If you do make any enhancements, by all means upload ). them back to this site, I will be glad to post them. Also, If you have any suggestions for new tools or enhancements, please send them to me as well.

Please remember, the primary purpose of this site is not just to give away free software. It is to share knowledge! That knowledge is primarily directed at the RPG/i5 (AS400) platform & RPG, but as you can see from my other downloads section, I am willing to share any knowledge that is helpful.

I would highly reccomend that you download the CMPANYSRC command. This command will make a lot easier to use the Free RPG/i5 (AS400) Tools . This command can also be very useful in your own environment when trying to establish standards for compiling objects.

Just a Note: If you have some time on your hands (Like I wish I did) & you would like to make an enhancement to one of these tools. The indent utility is in desperate need of an upgrade. It needs to be able to indent Free Format RPG & there are a few tweaks it could use for the other forms of RPG as well dealing with longer field names & things like the eval statement. I haven't had the time to do this myself, so if you are interested I would be willing to offer a free membership to anyone who does it. Please send me an e-mail if you are interested.

Please keep in mind, (as it is with all freeware/shareware) this software is supported by you (hence the reason I give you the source). I will be more than happy to answer your e-mails (if I can), but I am not glued to my computer. So please do not be disappointed if your e-mails don't get answered right away.
Some of the more popular utilities you will find here are:
  1. CALCDATE - Calculate Date with RPG Date Fields
  2. CHGCURUSR - Change the currently signed on user
  3. CMPANYSRC - Compile Any Source Member
  4. CVTRPGEND - Convert RPG End Statements
  5. CVTSPLF - Convert an RPG/i5 (AS400) Spool File to PDF or HTML document.
  6. DLTOSPLF - Delete old Spool Files
  7. FTPGEN - Generate FTP Script to Allow Re-Upload
  8. FTPSRC - Download Source Members VIA FTP
  9. GETFFD - Get/Display Field Field Layout
  10. POPMSG - Display Message in a Popup Window
  11. RECORDS - Show Number of Records in a File
  12. RTVSRC - Retrieve Source from ILE Modules
  13. SETDBG - Set Source Debug Screen to 132 Columns
  14. SQL - Run any SQL Command
  15. SRDESC - Save & Restore Member Text
  16. WRKDBF - Work with Database File V10.11.03
  17. DSPUSRSPC - Display User Space
Proceed to Free Downloads
Order the Free RPG/i5 (AS400) Tools on ISO
Don't feel like downloading 70+ tools. Don't have the time.
Now you can get a copy of all the Free RPG/i5 (AS400) Tools on your very own CD-ROM. For just $19.99 you can order a copy of all the utilities.
Also by ordering the cd, you will be eligible to receive 50% discount on next year's membership renewal. Plus you will then be able to download any new tools that become available during the year without having to wait for next year's CD to be released.

Just press the Buy Now button at the bottom & follow the PAYPAL instructions to pay for your purchase.

You will receive instructions on how to download an electronic version of the Free RPG/i5 (AS400) Tools CD in ISO format that you can burn to your own CD. You will also receive a userid & password that will allow you access to the newest utilities that are not yet available to non-members.
If you would prefer to only subscribe to the Free RPG/i5 (AS400) Tools as a member & not receive the Free RPG/i5 (AS400) Tools ISO. You can do so HERE for only $9.99

Buy with PayPal
The Free RPG/i5 (AS400) Tools - Page(s) Moved
If you are looking for the Free RPG/i5 (AS400) Tools FAQS page or
the Free RPG/i5 (AS400) Tools news feed page(s), They have moved.

You can now find the "FAQS" page HERE .
You can now find the "News Feeds" page HERE .
Have you become a member yet?
When you become a member of the Free RPG/i5 (AS400) Tools club, you get the privilege of being able to download the newest tools before anyone else.
You can become a member for only $9.99 by pressing the Order Now button.
Order Now

Don't feel like downloading 70+ tools. Don't have the time.
Now you can burn a copy of all the Free RPG/i5 (AS400) Tools on your very own CD-ROM. For just $19.99 you can order a copy of all the utilities on an ISO.
Plus you will then be able to download any new tools that become available for members only without having to wait for the next ISO to be released.
Order ISO

Press the Proceed to Downloads button to get a list of Free RPG/i5 (AS400) Tools that can be downloaded.
Show Downloads
Free RPG/i5 (AS400) Tools's
Order Results 
The Free RPG/i5 (AS400) Tools Annual Membership Subscription
If you just want the ability to download great new tools before anyone else & you don't need a copy of all the utilities on CD, You can now purchase just a yearly subscription for only $9.99. With this subscription you will receive a user & password that will allow you to download new tools as soon as they are posted. All you have to do is enter your RPG/i5 serial number below & push the buy now button. You will then be presented with a PayPal screen to pay for your purchase. Once your purchase is confirmed, you will receive your userid & password VIA e-mail within Two business days.
Buy with PayPal
Checking, Please Wait...
Upload RPG/i5 (AS400) Utilities

Enter File to Upload
Enter your name(If you want credit)
Enter your e-mail address
Enter the Utility description
The only required field is the file itself. If you really want me to publish it, you need to enter everything. Whatever you put in the name field will be placed with the utility on my web site. Your e-mail address will not be made public. I will only use it to forward inquiries from people who download your utility.

You may upload any software that you have the right to freely distribute. I would prefer that you upload RPG/i5 (AS400) source, but if you have or find some truly unique or outstanding software that is not from the AS400 (from any platform) that may be of interest to people using the RPG/i5 (AS400) system then by all means upload it.

Also if you include your website address in the description I will place a link in the text. Also I will include a link to it on the Free RPG/i5 (AS400) Tools web blog .