Category: Tips and Techniques

ExtendedIOException in Java

If your java application starts encountering a ExtendedIOException error while trying to access files in the IFS, check to see if you’ve got a 3rd party security exit program in place. I just had a rather frustrating diagnostic problem with a customer … they installed a recent upgrade to our product and the java application […]

Quick Tip: API data lengths

Here’s a quick tip for troubleshooting API calls: If you are calling an API and notice that data you are expecting isn’t being provided, verify that you are allocating enough space for the return values and telling it how much space you’ve allocated. Many APIs require you to allocate space to hold the returned info […]

Context Is Key

Ha! I’ll bet you thought this blog was dead. Well, in the words of Miracle Max, only mostly dead. I’m in the process of reading a new programming book (well, not new to some … new to me). I’ll probably post a review in a week or so (yeah, right). Anyways, it got me to […]

Easy Field Encyption for System i

For our new billing system (AR), we wanted to store account numbers for so that our customers could auto-pay their bills. After some searching and seeing how complicated the APIs are to use, I found these SQL functions: ENCRYPT_RC2(data, password) and DECRYPT_CHAR(data, password) . These looked promising and being that this is an internal-only system, […]