How do I iterate over a set of records in RPG with embedded SQL?

A person on StackOverflow asked a good question a while back. How do I iterate over a set of records in RPG(LE) with embedded SQL? This is a mix of information gleamed from many sources. I use a standard template for every program and modify as needed from there. Here is the core of the […]

First Data Global Gateway Web Service API setup for Visual Studio 2010

First Data’s directions for setting up their web service in Visual Studio is very confusing and I ended up calling them for help. Visual Studio 2010 has different directions than previous versions of Visual Studio. Here is how I got it to work. First install the certificate, go into Internet Options in the Control Panel. […]

What was the name of the last spool file my program created? Here is how to determine that.

I had a problem recently where because of some old programs with built-in O-specs I didn’t really know what the name of the spool file generated is in CL. I found this API that can figure that out for you. Here is how to use it. First declare your variables: /* QSPRILSP Fields */ DCL […]