Learn RPG on IBM i with VSCode. Arrays & Data Structures Explained (Beginner Guide)

Start working with real data in RPG. In this episode of the Learn RPG on IBM i with VS Code series, we move beyond single variables and introduce one of the most important concepts in programming: 👉 Arrays 👉 Data Structures (DS) Until now, we’ve worked with individual values and simple logic. But real applications need to handle collections of data and structured information. In this video, you’ll learn how to: Store multiple values using arrays Access and process array elements Use loops to work efficiently with data Define and use data structures (DS) Combine arrays and structures to model real-world data Search for values inside an array of structures We also build a complete practical example where: ✔ We define a customer structure ✔ Store multiple customers in an array ✔ Search for a specific customer using a FOR loop ✔ Use IF conditions and LEAVE to control the flow By the end of this video, you’ll be able to write more realistic RPG programs. 🔔 Subscribe and hit the bell so you don't miss the next episode! 👍 Like if this helped you — it really supports the channel! 💬 Drop a comment! 00:00 Introduction 00:45 Why do we need arrays? 01:18 What is an array? 01:40 Declaring an array 02:24 Accessing array values 04:01 Using arrays with loops 06:58 Initialising arrays, using INZ, CLEAR and RESET 10:58 Data structures 11:48 Declaring a data structure, using DCL-DS and QUALIFIED 13:55 Arrays of data structures, using DCL-DS and DIM 17:09 The importance of data structures and arrays in RPG 17:32 An example 22:12 Ending and .... what's next?? #IBM #IBMi #RPG #RPGLE #AS400 #IBMChampion #VSCode #Programming #LearnRPG #RPGLE #IBM #SoftwareDevelopment #IBMChampion

Learn RPG on IBM i with VSCode. Advanced arrays in RPG ( %LIST, FOR-EACH, WHEN-IS, WHEN-IN, %RANGE )
▶︎

Learn RPG on IBM i with VSCode. Advanced arrays in RPG ( %LIST, FOR-EACH, WHEN-IS, WHEN-IN, %RANGE )

Learn RPG on IBM i with VSCode. Connecting to the IBM i
▶︎

Learn RPG on IBM i with VSCode. Connecting to the IBM i

Portfolio Update: My optimized strategy compared to the S&P 500! | #stocks #etf #space
▶︎

Portfolio Update: My optimized strategy compared to the S&P 500! | #stocks #etf #space

Learn RPG on IBM i with VSCode. IF, SELECT and Indicators for beginners.
▶︎

Learn RPG on IBM i with VSCode. IF, SELECT and Indicators for beginners.

IBM i Update: November 2025 - Modernising Development Tooling on the IBM i  with VS Code
▶︎

IBM i Update: November 2025 - Modernising Development Tooling on the IBM i with VS Code

IBM BOB - The King of IBM i Code Modernization?
▶︎

IBM BOB - The King of IBM i Code Modernization?

Learn Pandas in Python #2 — Series Explained
▶︎

Learn Pandas in Python #2 — Series Explained

Why birth rates are falling everywhere all at once | FT
▶︎

Why birth rates are falling everywhere all at once | FT

When You Try To Be Microsoft…The Fall Of Salesforce
▶︎

When You Try To Be Microsoft…The Fall Of Salesforce

Rural Countryside Field Path Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames
▶︎

Rural Countryside Field Path Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

Why Money, Success, and Pleasure Aren’t Enough
▶︎

Why Money, Success, and Pleasure Aren’t Enough

How AI agents & Claude skills work (Clearly Explained)
▶︎

How AI agents & Claude skills work (Clearly Explained)

Learn RPG on IBM i with VSCode. FOR, DOW and DOU loops (Beginner Guide)
▶︎

Learn RPG on IBM i with VSCode. FOR, DOW and DOU loops (Beginner Guide)

Learn RPG on IBM i with VSCode. Our first RPG program.
▶︎

Learn RPG on IBM i with VSCode. Our first RPG program.

Tuscan Cottage Wildflowers Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames
▶︎

Tuscan Cottage Wildflowers Oil Painting | 4K Vintage Wallpaper Art Screensaver | Vintage Frames

C# Is better than I thought - here's why
▶︎

C# Is better than I thought - here's why

Something is jamming GPS over Europe. Here's what we found
▶︎

Something is jamming GPS over Europe. Here's what we found

Learn RPG on IBM i with VSCode. IBM I basics (Libraries, Objects, Commands)
▶︎

Learn RPG on IBM i with VSCode. IBM I basics (Libraries, Objects, Commands)

Learn RPG on IBM i with VSCode. Creating and using a table with RPG and embedded SQL.
▶︎

Learn RPG on IBM i with VSCode. Creating and using a table with RPG and embedded SQL.

The AI Take Over Has Completely Backfired and I Can't Be Happier
▶︎

The AI Take Over Has Completely Backfired and I Can't Be Happier