September 7, 2022

MC RPG Developer

Lead Article - Programming

SQL 101: DML Recap—Joining Tables, Part 1

They say no man is an island. We’re social creatures and (most of us) need to live in a community. In a properly structured database, no table is an island either, so we need to know how to join them in our queries.

By Rafael Victória-Pereira

Listing the contents of a table, even with comparisons (or search conditions) that constrain the output, as shown in the previous TechTip, is a bit limited in a real-life situation. Typically, our queries are built using information from multiple tables. I’ll go through almost all the ways you can join tables in SQL; I’ll leave a special type of join, called EXCEPTION JOIN, for later. Let’s start with the simplest of them all: the INNER JOIN.

Feature Article - Programming

/Free Control Statements, Part 2

DO Stuff: There’s an old programmers’ adage: “Where there’s an IF, there’s a DO,” and darned if it isn’t true.

By David Shirey

Editor's Note: This article is excerpted from chapter 5 of 21st Century RPG: /Free, ILE, and MVC, by David Shirey.

Fortunately, most of what we said for IFs is true for DO loops.

The DO itself has been eliminated from /Free (use FOR). And the DOWGT, DOULT, and others of that ilk are out as well.

What you are left with is simpler and more straightforward: DOW and DOU with a conditional statement. The basic syntax is:

 

White Papers

SB LANSA PPL 5650

Why Migrate When You Can Modernize?

Explore the main considerations you should be aware of before embarking on a (migration or modernization) project. Take a deeper dive into business motivations and factors that could potentially influence your decision to migrate or modernize your existing IT platform and its risks.

Download your copy today!

Element Break 210x14

Profound WP PPL newsletter logo 5562

Profound Logic Solution Guide

More than ever, there is a demand for IT to deliver innovation.

Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects.

The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the companyare not aligned with the current IT environment.

Get your copy of this important guide today!

Element Break 210x14

Webcast

Profound WC PPL newsletter logo v1

Node Webinar Series Pt. 1: The World of Node.js on IBM i

Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

Part 1 will teach you what Node.js is, why it's a great option for IBM i shops, and how to take advantage of the ecosystem surrounding Node.

In addition to background information, our Director of Product Development Scott Klement will demonstrate applications that take advantage of the Node Package Manager (npm).



watch now!

Element Break 210x14

LANSA Webcast

Low Code: A Digital Transformation of Supply Chain and Logistics

Learn how businesses leverage Low-Code to continue to deliver value through digital transformation. Discover how the power of Low-Code is helping many businesses evolve their supply chain, increase ROI, and achieve more tangible results.

Watch this webcast now.

Element Break 210x14

 

Trial Software

HelpSystems SC PPL newsletter logo

Easiest Way to Save Money? Stop Printing IBM i Reports

The thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing.

Manage your reports with the Robot Report Management Solution.

Rerun another report? Never again. Try the Robot Report Management Solution FREE for 30 days.

Request your trial now!

Element Break 210x14

Cybra SC PPL newsletter logo v1

Comply in 5! Well, actually UNDER 5 minutes!!

TRY the one package that solves all your document design and printing challenges on all your platforms.

Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product.

Request your trial now!

Element Break 210x14

Featured News

VMware and IBM Give Clients New Ways to Modernize Hybrid Cloud Environments in Regulated Industries

IBM will be first VMware partner to combine consulting expertise and new jointly engineered cloud solutions for clients running mission-critical workloads in VMware-based environments

By IBM Corporation

VMware Inc. and IBM today announced at VMware Explore 2022 an expanded partnership to help global clients and partners modernize mission-critical workloads and expedite time to value in hybrid cloud environments. The expanded relationship includes IBM Consulting as a VMware GSI partner, the companies’ intent to deliver new jointly engineered IBM and VMware Cloud solutions and joint development and go to market. Together, IBM and VMware are planning to help clients in regulated industries such as financial services, healthcare and public sector address the cost, complexity and risk of migrating and modernizing mission-critical workloads in the cloud.

Upcoming Events
MC Press Bookstore