The Geezer’s Guide to Free-Form RPG, Part 3: Data Structures and More Data Definitions
May 28, 2014 Jon Paris
In my previous tip on the new free-form RPG support I discussed the basics of the new methods for defining data in RPG. In this tip I will be covering some additional aspects of the new style data definitions that are not so obvious from a simple reading of the documentation. More on Data Definitions Until now, if you wanted to ensure that all fields of a specific type (currency for example) used a common definition, you used the LIKE keyword. The one small problem with this was that you could not change the data type of the cloned field. |