Is the data structure field definition picked from the source of the physical file?
No, the definition is picked from the physical file object. 2. Is the external data structure automatically populated from the file fields? Apart from the definition, there’s no relationship between the physical file and the RPG data structure. 3. Is it required to keep the physical file even after not creating the program object? No, it’s your prerogative. Deleting the physical file object does not affect RPG program in any way. 4. Why do we use external data structures? Defining external data structures helps us easier maintenance of the program. An external data structure based RPG file maintenance program frees you from any further maintenance of itself. If you add/change/delete a field in the physical file, you will just need to compile the file maintenance program! That’s it. Nothing else is required. If you are using display files, you will have to make a few changes there.
Related Questions
- Data file structure (.DTA) and comments for import and export of data to/from EZ-Forms GT/SILVER PRO/GOLD ULTRA. [Where on the form is data imported to, or exported from?
- Is the data structure field definition picked from the source of the physical file?
- How Do I View Pivot Table Source Data File And Field Names?