July 15, 2022

MC TNT Header dots fade with byline 2017 06 01 l r

Lead Article - Programming

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.

Featured News

IBM Expands Power10 Server Family to Help Clients Respond Faster to Rapidly Changing Business Demands

New Power10 scale-out and midrange models extend IBM's capabilities to deliver flexible and secured infrastructure for hybrid cloud environments

By IBM Corporation

IBM today announced a significant expansion of its Power10 server line with the introduction of mid-range and scale-out systems to modernize, protect and automate business applications and IT operations. The new Power10 servers combine performance, scalability, and flexibility with new pay-as-you-go consumption offerings for clients looking to deploy new services quickly across multiple environments.

White Paper Download

   Profound Logic

 

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 company are not aligned with the current IT environment.

Get your copy of this important guide today! Download your copy today!
Webcast Learning

   LANSA

 

Supply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals.

In this webinar, we discuss how:

  • Low-Code facilitates the development of Supply Chain Collaborative Portals.
  • Value Chain integration enhances visibility, timeliness, and consistency.
  • New technologies help modernize and expand ERP and Legacy Platform support.

 

Watch Now.
Application Dev

Operating Systems

Database

Programming

Management & Career

System Administration

Featured Event

MC Press Bookstore