Archive | Cheat Sheets RSS feed for this section
Tips for Using Time Stamps in ILE RPG

Tips for Using Time Stamps in ILE RPG

Some notes regarding timestamps. Defining a Timestamp A timestamp is stored as a 26 character field. But, the system looks at it as a special data type and enforces the rules it has set up for timestamps. The format for a timestamp is is YYYY-MM-DD-HH.MM.SS.XXXXXX (Year-Month-Day-Hour.Minute.Second.Milliseconds). An example would be Read more
Category: Cheat Sheets, RPG
PHP/MYSQL String Tricks

PHP/MYSQL String Tricks

Here’s a couple things I always forget. I’m adding them here so I’ll have them for future reference. How to “Scan and Replace” a String in MYSQL (Note the AS400-ish wording of that title). Big Note: Be very careful of serialized data!!!! Thanks to Read more
Category: Cheat Sheets
Free Format RPG ILE Alternatives to the TIME Opcode

Free Format RPG ILE Alternatives to the TIME Opcode

Here’s one of the free format BIFs I can never remember as far as syntax is concerned. Maybe if I keep it here I will be able to find it again :). I copied some of this from http://www.bmeyers.net/faqs/frequently-asked-questions/41-free-format-alternatives-to-time (the Q&A part). Q. In fixed format RPG IV, I used the TIME operation code Read more
Category: Cheat Sheets

Wordpress SEO Plugin by SEOPressor
%d bloggers like this: