• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • A Bevy of BIFs: Getting a Date is Easy with %Date

    February 18, 2009 Susan Gantner

    Almost every kind of business application uses dates. Hopefully you’re taking full advantage of all the RPG support for date data types to simplify your logic. If you’re using more than one line of code to calculate the number of days, months or years between two dates, or to add a number of days, months, or years to a date, you’re working way too hard!

    Many of the “dates” we deal with come from a screen or a database file and aren’t true date data type fields. They are numeric or character fields that contain values that we treat as

    …

    Read more
  • Mismatched Record Name Formats? No Problem!

    February 18, 2009 Hey, Ted

    We have two sets of order files–one current and one history–with the same fields but different record format names. (Who knows why?) The two inquiry programs use the same display file; and yours truly forgets to make changes in the history program when he changes the current program. I get the big brain idea to use the same program for both, but how do I override the history file to the current file when the record format names do not match?

    –David

    Let’s suppose your two files are called CURYRSLS (current year sales) and SLSHIST (sales history). The record formats

    …

    Read more
  • Admin Alert: Solving i5/OS Inquiry Message Whodunits

    February 18, 2009 Joe Hertvik

    Occasionally, a user, operator, administrator, or programmer will incorrectly answer an i5/OS inquiry message, causing system problems. When that happens, it can help to quickly discover how the message was answered, if only to prevent the offending job or user from incorrectly answering it again. This week, I’ll look at some investigative techniques for answering that classic i5/OS question: Who answered that inquiry message?

    Using QSYSOPR To Find An Answering Job

    While investigating inquiry message whodunits, an administrator’s first instinct is to display the system operator message queue (QSYSOPR) where the inquiry message originally appeared. When inquiry messages are fresh,

    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Stacking Up Power10 And Power11 Systems Price/Performance
  • Where Infor Is Headed With Its ERPs For IBM i
  • Rocket Delivers More DevOps Capabilities For IBM i
  • A Few More Power Systems Announcements Before Year End
  • IBM i PTF Guide, Volume 27, Number 46
  • Bang For The Buck On Entry Power10 And Power11 Machines
  • A Hardware Refresh Is The Perfect Time To Re-Evaluate Your HA/DR Strategy
  • Fresche Taps AI For New RPG-To-Java Conversion Tool
  • Gartner Raises 2025 IT Spending Forecast, Puts Out 2026 Prediction
  • IBM i PTF Guide, Volume 27, Number 45

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle