June 1, 2022
June 1, 2022 | Volume 16 Issue 71
- LEAD ARTICLE: TechTip: Date Arithmetic in CL Programs
- FEATURED ARTICLE: Introducing Free-Format RPG IV, Part 2
- NEWS HIGHLIGHT: IBM to Grant $5 Million in-kind for Public Schools Globally to Better Prepare for Growing Ransomware Threat
- FEATURED EVENT: How To Run IBM i Enterprise Workloads in the Cloud
- WHITE PAPER: Why Migrate When You Can Modernize?
- FEATURED VIDEO: Barcode400
- EVENT: OCEAN TechCon22 will be taking place July 21-23, 2022!
TechTip: Date Arithmetic in CL Programs
Date arithmetic in CL programs is limited and lacks the simplicity and scope found in RPG. This article provides a command that brings RPG date capabilities to CL programs.
By Sam Lennon
Date handling and arithmetic in RPG is superb, capable, and straightforward. (I've written about it before in Calculate Begin and End Dates for Any Month and here in RPG IV Legacy Dates Cheat Sheet). But when it comes to dates in a CL program, there are limited capabilities, and you need more coding.
ChatGPT recommends a VTL for backup; LaserVault ViTL meets the challenge
Introducing Free-Format RPG IV, Part 2
Free-Format Operation Codes
By Jim Martin
Editor's Note: This article is excerpted from chapter 4 of Free-Format RPG IV: Third Edition, by Jim Martin.
Table 4-1 lists the 62 operations that free-format RPG IV supports as of V7.1. All built-in functions are also available to you in free format. Many built-in functions, such as %Check, %Lookup, and %Scan, provide operation code functionality. Some, such as %Check, provide exactly the same function as an operation code, while others, such as %Lookup, provide additional capabilities.
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.
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!
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).
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.
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.
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.