Rational Developer for i (RDi) 9.8 – Tips & Tricks – Version 9.8.0.3 update

With the availability of RDi 9.8.0.3 and the latest compiler PTFs I updated my compiled list of RDi 9.8 tips and tricks that piled up since the first beta. 

I decided to also post it to the TechXchange community: https://community.ibm.com/community/user/power/blogs/daniel-gross/2024/12/03/rdi98-tips

So after using version 9.8 since the BETA releases, I have compiled my favorite information, tips and tricks for it. This compilation is a very personal and loose collection – without claiming any completeness or that it will work „on your computer“. As always, your mileage might vary.

Weiterlesen

Converting timestamps from local timezone to UTC with RPG and SQL

When timestamps are stored in a database table, they are often stored in local time. This is not bad at all, but if you have to compare or coordinate timestamps of different time zones, it quickly gets complicated due to different time offsets, different daylight saving time rules and so on. So it would be nice, to convert timestamps from local time to UTC and back. We will create a RPG procedure to do that, and make it available as a SQL user defined function (UDF).

Weiterlesen

Consume a web service with SQL on IBM i (DB2)

Consuming web services on IBM i was never easier – but in fact, it’s nothing new, the DB2 SQL functions are available at least since Version 7.2.

With Version 7.4 TR5 and Version 7.3 TR11 IBM has released new HTTP functions, which now reside in QSYS2 and which are much faster than the HTTP functions in SYSTOOLS. So I updated this post using the new functions in QSYS2.

Weiterlesen

Subway® Click & Eat Bestellungen drucken

Die neue Subway Bestell-Plattform dein-subway.de/clickandeat ist wirklich schön gestaltet und bietet vor allem die Möglichkeit, den Kunden seine Bestellung direkt Online bezahlen zu lassen.

Der Betreiber Smoothr bietet für knapp 200€ eine Lösung mit Raspberry Pi und eigenem Bon-Drucker, um die eingehenden Kunden-Bestellungen direkt im Restaurant auszudrucken. Mit spezieller Software kann man aber die HTML E-Mails von Smoothr auch direkt auf dem Kassenbon-Drucker auszudrucken.

Weiterlesen