VS Code for IBM i: SELECT Statement [VIDEO]

In this episode of Getting Started with Code for i, Patrick Behr focuses on the power of the SELECT statement included in the Db2 for i extension.

SELECT lets you quickly generate CSV or JSON files, or update your Db2 for i data, directly from Code for i. Just watch how easy it is!

Read more

VS Code for IBM i: Profiles [Video]

Returning with a new episode in his Getting Started with Code for i video series, IBM Champion Patrick Behr now focuses on how to set up profiles.

Profiles let you define different library lists and filters based on what you’re working on. They give you one-click access between, for example, production and test environments, accounting and warehouse applications, or whatever you need to need to do next.

Read more

Compare Source Between Two Partitions using VS Code for IBM i

Comparing source code between IBM i partitions has been a desired feature of Code for i. Although connecting to two systems within one Code for i window is not yet supported, comparing source from two systems IS possible.

Patrick Behr recently posted a comparison technique using Git that works for multiple files. Another technique, which seems well suited for comparing single files rather than multiples, was provided by Christian Jorgensen in the Code for i Github repository. We share both versions below.

Read more

VS Code for IBM i: Filters [Video]

In Episode 2 of his Getting Started with VS Code for IBM i series for RPG and COBOL developers, Patrick Behr shows us several ways to efficiently filter and find IBM i source physical file members using Code for i’s Object Browser. (You’ll find Episode 1 here.)

Read more

Getting Started with VS Code for IBM i [Video Tutorial]

Code for IBM i is rapidly gain traction as an efficient, cost-effective alternative to RDi for RPGLE (fixed and free format), COBOL, CL, and Db2 for i development.

To help traditional IBM i developers explore this fast and flexible IDE, Patrick Behr offers this first tutorial in his Getting Started with VS Code for i video series. In it, he demonstrates how to install VS Code and its IBM i Development pack, connect to an IBM i server, set and manage library lists, filter your object browser, and change and compile RPG source.

Read more

VS Code for IBM i: SEP Debugging Prerequisites

Code for IBM iCode for i users have been showing great interest in Service Entry Point (SEP) debugging. SEP permits debugging of applications that run in a different job than the programmer’s job, such as a web server or prestart job.

Available with Version 2 of the IBM Debug Service, SEP requires several prerequisites, including the IBM i Debug extension, PTFs, and Licensed Program Products (LPPs). This article focuses on the PTFs and LPPs, objects that are frequently overlooked.

Read more

Compare Source Code with VS Code for IBM i

Code for i’s source comparison feature recently helped me find a bug. While comparing old vs. new versions of an RPG program, I discovered that a CHAIN had been changed to an SQL SELECT, which was fine, except that an important column name had been forgotten. I created a “before and after” Code for i screen shot for the programmer, who then fixed the mistake.

As documented on the Code for i “Tricks” page, comparing source code takes only two steps. This technique works both for traditional source members and stream files stored in the IFS.

Read more

“BOB” for IBM i: Demonstration by Edmund Reinhardt

At Seiden Group’s September 13, 2024, Code for i Fridays meeting, IBM’s Edmund Reinhardt presented a one-hour tutorial on the Better Object Builder (BOB).

This comprehensive demo was given by request. A regular attendee had asked for a complete demonstration, start to finish, of how to use BOB to compile source in VS Code; prepare a make file from scratch; and to use Source Orbit. These tools can help developers who wish to use Git with stream files instead of traditional QSYS-based source members.

Read more

Code for IBM i Fridays: A Free Seiden Community Event

December 2024 Update

You’ll find up-to-date information on Code for i Fridays—such as the next meeting date and highlights of past meetings—on this page.

The Code for i extension to Visual Studio Code (VS Code) has become ever more popular and powerful. It’s also free and open source.

Seiden Group has been hosting online gatherings to share, learn, solve problems, and contribute improvements to Code for i. Hosted by Alan Seiden, the meetings often include guests such as Liam Allan, the originator of Code for i.

Read more