May 2, 2022
We’ve all got stacks of legacy code that has a huge amount of business logic locked away full of those pesky do loops with their setll’s and reads followed by endless hops off to do some chain statements grabbing all the accompanying supporting data. Well...
Mar 27, 2022
ctime is a good way to get the date narratives day name and month name in short form eg Sun Mar 27 15:39:23 2022. This UNIX api returns the names abbreviated to the first 3 characters eg Sun, Mon Tue and Jan, Feb, Mar etc. If the current time is required then using...
Apr 14, 2021
How to add autocomplete functionality to an HTML input field to aid selection and permit effortless form field pre-population on the IBM i When presenting users with an HTML form to be filled in it can be helpful to present the user with an autocomplete list of...
Oct 24, 2020
Here is some simple code that we use to do a mass replace of text strings in physical file source members. It does a case sensitive search and replaces the entire search string with the replacement sting and will always produce data shift if the search and replacement...