Guru: Web Services, DATA-INTO and DATA-GEN, Part 1
April 5, 2021 Jon Paris
Many of the “Can you help me with. . . ” communications that cross my desk these days include reference to JSON. Sometimes the questioner is receiving JSON in a file, or has to retrieve it from a web service, or needs to generate JSON in response to a query. While there are many ways to handle these requirements, RPG’s built-in DATA-INTO and DATA-GEN can do a lot of the heavy lifting for you and are quite simple once you understand the basics.
In this series of tips, I am going to start with a basic example that uses both …
Read more