I’m in the final stages of a fun project writing web-services to interface INFOR System21 (on an IBM i aka AS400) with ACSIS Visitrack (on Windows Server), we are consuming (receiving) and serving (sending) all data in a standard alphameric layout But… as any RPG programmer will know… the conversion between alpha to numeric is …

Read More

Example RPGLE web service programHere is a quick little example RPGLE web service – it’s written in RPG, the SQLRPGLE flavor and simply reads a file (the System/21 Stockroom master file — INP20) and returns a multi-occurrence data structure (array) of the stockrooms that the user is authorized to use. #hopeithelpssomebodyWEBGETSTR – get all stockrooms for …

Read More

What is RPG Open Access? Rational® Open Access: RPG Edition provides a way for RPG programmers to use the simple and well-understood RPG I/O model to access resources and devices that are not directly supported by RPG. Open Access opens up RPG’s file I/O capabilities, allowing anyone to write innovative I/O handlers to access other …

Read More

So, for the last few weeks I’ve been working on adding credit card handling to a legacy RPG application with a static HTML website over the top. The application code itself was written in the eighties and has evolved through a number of different versions of RPG (a mix of RPG2, RPG3, RPG400 and even …

Read More

Lets start from a point where you know what JSON is right? JSON JavaScript Object Notation or JSON (/JAY-sÉ™n), is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types. It is a very common data format used for asynchronous browser/server communication, including as a replacement for XML in some AJAX-style systems. Data types in JSON include string, number, boolean, array …

Read More

So, for a recent project I wanted to create a simple webservice, a “heartbeat” program that would be written in RPG and would reply to anbody calling it from anywhere on the network with a simple response that indicated that it worked. A webservice is routine that can be called over a TCP/IP network. • …

Read More

I’ve spent this week implementing a Cheque (yes — that is the correct and very English way of spelling ‘check’) scanning solution for a client. The basic idea is — company receives lots of money payments by cheque, these are scanned, sorted and deposited direct into the companies bank account and the deposit information is …

Read More

Wow! It’s December already! After a whirlwind year involving moving the whole family, two dogs and a pile of News 3x/400 magazines to this side of the pond I cant believe it’s nearly 2010 already. Two thousand nine has seen us settling into our new life in the US, focussing mainly on IBMi and I …

Read More

New IBM i Tricks for an old AS400 Dog – Webservices Only ten years late, I’m finally getting involved with some Web Services from the AS400 (sorry IBM i – *cough*). Fantastically exciting stuff after my time in the AS400/Web Wilderness and not getting my hands really deep into any techie goo. Streaming data from …

Read More