October 7, 2020

MC RPG Developer

Lead Article - Programming

Practical SQL: SQL Monitor Part 3, the Program Logic

Using identity fields in RPG requires a little SQL, but that SQL can coexist with traditional record-level access, as this monitor program illustrates.

By Joe Pluta

In my last two articles (1, 2), I presented a business requirement that could be met by creating a data model with an identity field. Identity fields are very powerful, but they are best handled using SQL. This particular program makes use of a number of different ILE techniques, so we should dive right in.

Feature Article - Programming

RPG Academy: UI Modernization, Part 3—Introducing the MVC

Time to introduce a conceptual (but rather useful) new tool for your arsenal: the MVC. No, it’s not a new type of vehicle! It’s the model-view-controller model.

By Rafael Victória-Pereira

The multi-tier architecture implementations shown in the previous TechTip are a step in the right direction, but they have its limitations:

  • You’re still bound by the DDS limits—Your UIs will still be text-based and limited to a 24x80 or 27x132 green-screen resolution.
  • Your code is not truly separated—Code for screen handling and control flow is still intertwined. It’s true that this approach makes it much easier to maintain, but you still have some code that is not where it should be. This also means that your “UI expert” also has to be the “control flow expert,” when these can be different tasks.
Featured News

Tragedy for MC Press Author

Help the man who helped you navigate your career.
 

By Victoria Mack

If you’ve read MC Press Online, formerly Midrange Computing magazine, you likely fondly remember author Thomas M. Stockwell. His decades of commentary and analysis on a wide variety of industry-relevant topics made him a favorite of readers.

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 Article - Programming

UPDATED: Developer Kit: Making a Business Case for Modernization and Beyond

Businesses that use “legacy” systems and applications face unique challenges, including loss of competitiveness, inefficiency due to manual processes, and an aging development workforce. Developers and technical leaders on these systems are in a key position to influence how to overcome these challenges, but often find it difficult to communicate solutions to management.

By Profound Logic Software, Inc.

Editor's note: This article introduces the updated white paper Developer Kit: Making a Business Case for Modernization and Beyond, which is free to download from the MC White Paper Center.

With the right solutions, it’s possible to extend existing IT investments, transform out-of-date applications and processes, and remain highly competitive, without the consequences of a rip-and-replace. Carefully craft these solutions into a compelling business case, and they can become a reality for your company.

Upcoming Events
MC Press Bookstore