Meet TOBi: Your New Best Friend for Building IBM i Objects

  • Home
  • /
  • Blog
  • /
  • Meet TOBi: Your New Best Friend for Building IBM i Objects

February 17, 2026

If you’re deep into IBM i development and programming, you know how crucial it is to have tools that streamline your workflow without sacrificing reliability. Today, let’s dive into TOBi, the open-source build system designed specifically for IBM i. This tool bridges traditional IBM i practices with modern DevOps, making it easier to manage builds, dependencies, and deployments. I’ll walk you through what TOBi is, why it rocks, how to set it up, and more.

What is TOBi?

TOBi, short for The Object Builder for i, is a free open-source tool that turns your IBM i source code into working objects faster than you can say “legacy system.” It started as BOB (Better Object Builder), but IBM renamed it in 2025 to avoid mix-ups with their AI sidekick, because who wants two Bobs arguing in the office?

Hosted on IBM GitHub under Apache 2.0, it’s powered by GNU Make, the same engine behind zillions of Linux projects. More accurately “its powered by MAKEi an IBM-i specific version of GNU Make”.

Basically, it lets you do local dev with Git, auto-builds with smarts, and deploys without drama. No more manual grunt work : TOBi handles the heavy lifting.

Why TOBi Rocks for IBM i Devs

Picture this: Your old build process is like reheating leftovers every day, unexciting, wasteful and boring. TOBi? It’s the smart fridge that only cooks what’s fresh.

  • Speed: Only rebuilds changed bits. No more compiling the kitchen sink when you just tweaked a spoon.
  • Reliability: Spots dependencies like a detective. Change one file? It rebuilds the chain automatically. No more “oops, forgot that” moments.
  • Industry Smarts: Uses makefile lingo that’s everywhere else. If you’ve dabbled in Unix, you’ll feel right at home.
  • Flexibility: Defaults work great, but tweak compiles like adding hot sauce with custom groups, debug views, whatever.
  • Ease: One command or button click builds everything. Like ordering pizza, but for code.

In short, TOBi drags IBM i into the cool kids’ club of DevOps, saving you time and sanity.

Quick Setup

Don’t sweat the install, it’s straightforward. Grab packages like tobi, bash, python3, and pals via yum: yum install tobi bash … (full list in the docs). Or use ACS for a point-and-click adventure.

BASH open source on IBM i

Configuring Your Project

Three magic files rule the roost:

  • iproj.json: Your project’s brain, where it sets libraries, includes, and build commands.
  • .ibmi.json: Handles character encoding for compiles.
  • .env: Environment vars, like your library list.

Drop them in your project root, tweak as needed, and you’re golden. It’s like setting up a tent, baffling at first but then becomes simple once you know the poles.

Rules.mk: The Build Blueprint

These are your makefiles, telling TOBi how to assemble code. Root one lists source folders; sub ones define rules and links. Example: Link a program to its module, and TOBi builds in order. Naming matters – add .pgm for programs, skip for modules. Easy peasy, no PhD required.

Meet TOBi: Your New Best Friend for Building IBM i Objects 1

What TOBi Builds

TOBi handles the IBM i favorites:

  • RPGLE/SQLRPGLE programs and modules.
  • CL stuff.
  • COBOL, C/C++.
  • Display/printer files (DSPF/PRTF).
  • Database goodies like tables, views, indexes.
  • Extras: Commands, binders, messages, data queues.

Think of it as a Swiss Army knife for storing, organizing and compiling IBM-i Source up to Objects.

Migration and VS Code Fun

Shifting from old Source Files to the IFS for source storage? TOBi’s migration is like moving house without the backache: Identify source, convert with cvtsrcpf, clean up auto-magically, then build. Integrates with VS Code via IBM i Project Explorer. This provides one-click builds, object browsing, Git sync. It’s like giving your green screen a sports car upgrade.

Tips and Next Moves

  • Name consistently avoid “what was I thinking” regrets.
  • Track dependencies let TOBi do the thinking.
  • Git everything commit like your code’s life depends on it.
  • Test often catch gremlins early.

Dive in: Check IBM GitHub for examples, start small, join the community.

TOBi’s your ticket to faster, funner IBM i dev – go build something awesome!

How do I use Tobi?

Using TOBi inside VS Code (via Code for IBM i which includes the TOBi CLI) is absolutely the easiest, cleanest, and most modern way to use it.

Of course, you cuold install TOBi standalone, using the Terminal mode but for 99.9% of cases I would recommend:

VS Code + Code for IBM i + TOBi CLI (Easiest & Recommended)

This is the workflow 95% of modern IBM i developers use.

Why it’s easiest

  • VS Code runs TOBi commands automatically
  • Code for IBM i handles uploads, downloads, library lists, job logs
  • You get instant error feedback
  • You can build entire projects or single objects with one click
  • No green‑screen, no manual CRTxxx commands

Typical workflow

  1. Install Code for IBM i in VS Code
  2. Install TOBi on your IBM i (CLI + makefile system)
  3. Create your project with iproj.json
  4. Add your Rules.mk files (as shown in your open tab)
  5. Press Ctrl+Shift+B or run Build Project in VS Code
  6. TOBi builds everything automatically

Modern Coding IDE for IBM i Programmers

Visual Studio Code (VS Code) is a popular source code editor developed by Microsoft that supports various programming languages, including IBM i (iSeries, AS/400) languages such as RPG, COBOL, and CL. IBM BOB is VS-Code on Steroids! With the help of extensions and plugins, both IDE’s are transformed into powerful tools for IBM i programming, providing features like syntax highlighting, AI code completion, debugging, and more.

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits.

Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day.

Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Subscribe NOW
7-day free trial

Take This Course with ALL ACCESS

Unlock your Learning Potential with instant access to every course and all new courses as they are released.
 [ For Serious Software Developers only ]

Online Learning for IBM i Software Technology Professionals

“The more that you read, the more things you will know. The more that you learn, the more places you’ll go.” – Dr. Seuss

>