Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Object Builder for IBM i (OBI)New to Visual Studio Code? Get it now.
Object Builder for IBM i (OBI)

Object Builder for IBM i (OBI)

Andreas Prouza

|
389 installs
| (3) | Free
Automated build tool for IBM i
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OBI: Object Builder for i

OBI logo
Buy me a beer

OBI is a VS Code extension that builds IBM i objects from sources you keep locally (and in git). It detects which sources changed, resolves everything that depends on them, generates the build commands in the correct order and runs them on your IBM i via SSH. Joblogs, spool files and compile errors come back into VS Code.

Watch the intro (1:38):

  • Features
  • How it works
  • Requirements
  • Quick start
  • Documentation
  • Related projects

Features

  • Build profiles
    Build only the current source or all changes. Switch between user profiles (e.g. different target libraries or users) with one click.

    OBI build view
  • Change detection
    OBI stores a hash of every successfully built source and only builds what changed since then.

  • Dependency-aware build order
    All objects depending on a changed source are rebuilt as well, in the correct order (e.g. tables before programs). See Dependencies.

    Preview build

  • Build summary
    See every object, its commands and status. Exclude sources or single commands, add sources, edit a command before running it, and open the joblog, spool file and error output of each command.

    Build summary

  • Compile errors in the Problems view
    Compiler messages (*EVENTF) are shown directly in your source.

  • Build history
    Every build is kept. Browse by date or by source and filter for specific sources.

  • Source filters
    Individual source trees with descriptions, a sortable/filterable table view and a quick search over names and descriptions.

    Source filters

  • Per-source build settings
    Override settings (e.g. ACTGRP, TARGET_LIB) or the whole list of build steps for single sources.

  • Fully configurable build commands
    Commands per source type, with variables such as $(TARGET_LIB), $(OBJ_NAME) or your own.

  • Git information (branch and commit) is stored with each build.

  • UI available in English and German.

How it works

You work with your sources locally on your PC and share them with your team via git. The IFS is only used to compile.

Concept

  1. Preview build: OBI compares the local sources with the last successful build and creates a build list (including all dependent objects).
  2. Run build: the configuration and the sources to build are transferred to the IFS via SSH.
  3. The OBI backend on your IBM i runs the build commands.
  4. Results (status, joblog, spool files, compile errors) are downloaded and shown in the build summary.

Requirements

On IBM i

  • SSH daemon running (STRTCPSVR *SSHD)
  • Open source package manager (YUM) with bash
  • Python 3.12 or higher
  • The OBI backend cloned into the IFS and set up (setup.sh)
  • A home directory for your user profile (see the SSH setup)

On your PC

  • VS Code 1.90 or higher
  • SSH access to your IBM i (SSH key recommended, password also possible)
  • Optional: git

A local Python installation is not required. The build list is generated by the extension itself.

Quick start

  1. Set up SSH and your user profile on IBM i: SSH setup
  2. Install the OBI backend on IBM i:
    git clone https://github.com/andreas-prouza/obi /path/to/obi
    cd /path/to/obi
    ./setup.sh
    
  3. Open an (empty) project folder in VS Code, switch to the Object Builder for i view and click Initialize.
  4. Fill in the mandatory settings (remote host, SSH user, remote OBI path, ...) and save.
  5. Put your sources into src/<library>/<source file>/<member>.<attribute>.<type> (e.g. src/mylib/qrpglesrc/hello.rpgle.pgm).
  6. Click Preview build, then Run build.

The detailed walkthrough is in Getting started.

Documentation

Guide Content
Getting started IBM i setup, project initialization, minimum configuration, migrating existing sources
SSH setup SSH daemon, bash, home directory, key authentication
Building Preview build, build summary, run build, compile errors, build history
Sources Folder layout, source filters, quick search, descriptions
Dependencies Defining dependencies between sources and how they affect the build order
Configuration All config files, settings, profiles, build commands, variables, per-source settings

Want to work on OBI itself? See CONTRIBUTING.md.

Related projects

  • OBI: the build backend running on IBM i
  • ibm-i-build-obi: using OBI without VS Code (RDi, other IDEs) and further examples
  • cpysrc2ifs: RPG program to copy source members into the IFS

Happy building!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft