Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

RPG APIs: A Modernization Treasure

June 25, 2018/0 Comments/in APIs & Web Services, PHP /by Alan Seiden

K3SWhen modernizing applications, we help organizations select a software architecture that’s flexible, yet can last many years.

A recent article about our client K3S got our attention. Author Alex Woodie wrote that the inventory forecasting software vendor had updated their package with an attractive web-based interface using PHP, while adapting their existing RPG code into APIs written in RPG.

But I knew there was more to this story. So I asked King Harrison IV—K3S’s executive vice president, friend, and founding member of Club Seiden— to elaborate on their choice of RPG APIs.

Why RPG APIs?

Their reasons were not sentimental, but deliberate and strategic.

“We considered several options for modernization, such as rewriting every piece of our application from RPG to PHP. But we realized that if we separated our front-end interface from our back-end logic, PHP works for the user interface, while RPG becomes the perfect fit for the back-end.

“RPG really shines when you are working with back-end processes, providing long-term support for code you write today, compiled code and level checks, the ability to handle long numbers with great precision . . . all these components (combined with re-using much of our existing code base) made the choice of writing our APIs in RPG an easy and smart one.”

I explored each of these points with him to learn more.

Long Life and Stability

Because RPG has long backward compatibility, K3S has been able to perfect and improve their valuable APIs as needed and continue to rely upon them for many years. Front-ends can change as frequently as necessary while the back-end functionality remains stable.

“The APIs are our treasure,” says Harrison. “They have allowed us to encapsulate our business logic and code, to know it is rock solid and stable, and then have the freedom to explore front ends with all the new languages to develop interfaces people love.”

Compiled Code and Level Checks

According to Harrison, K3S’s APIs have been honed and perfected over many years to provide accurate results that save money for their customers. Whereas it’s common for many ERPs to be modified or customized by internal programmers, it’s better to run K3S’s package with the APIs provided. The compiled nature of RPG and protections against unexpected database changes ensure that their software always works as expected.

Decimal Math

RPG is known for handling numbers that have many decimal places with great accuracy and precision. For K3S, such precision enables them to provide more accurate forecasting. That, according to Harrison, saves their customers money by not having to carry as much safety stock.

Efficient Coding Techniques

Harrison is proud of the consistency of his API programs. They created RPG service programs to “use as many repeatable pieces as possible.”

Talent and Staffing

What about the staffing problems we hear about?

Harrison says, “We currently have five programmers at our company. Two are proficient in open source languages. Three are proficient in RPG.

“We have set an initiative to generate more RPG talent through outsourcing projects and developing skills in house. We are excited about the Boot Camp offered by COMMON, a practical way to teach a programmer RPG. It is also giving us a path to finally get our current RPG programmers on RDi!”

One Approach of Many

The path chosen by K3S is just one approach to successful modernization.

If your organization would like to take the next step in modernization using the best of open source, RPG, and other kinds of technology, we can help. Contact us for software-independent, tool-independent guidance.

 

Tags: API, DB2, IBMi, PHP, RPG
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2018-06-25 10:09:452024-10-07 11:51:06RPG APIs: A Modernization Treasure
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: Integrating Salesforce with IBM i Applications Link to: Integrating Salesforce with IBM i Applications Integrating Salesforce with IBM i Applications Link to: Sneak Peek at Plans for ILEditor 2 Link to: Sneak Peek at Plans for ILEditor 2 Sneak Peek at Plans for ILEditor 2
Scroll to top Scroll to top Scroll to top