You know the drill: You need to get data from an IBM i database file into a comma-separated variable (CSV) file to send to another system or application. You’ve probably used one or more of the available techniques provided with IBM i, including the Copy To Import File (CPYTOIMPF) command or the IBM i Access Data Transfer program. In this article, I'll show you how you can use RPG and certain subprocedures in the CGIDEV2 library to generate a CSV file. The technique I show here ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.