Is there a way to implicitly (no IN op code needed) read in a data area without defining it as a data structure as well. *Auto only seems to be valid for data structure data areas unless I am missing something
Announcement
Collapse
No announcement yet.
Data area implicit read in
Collapse
X
-
I would much prefer an application that uses the IN/OUT opcodes (and DTAARA keyword) where the data areas are NOT implicitly read. These might be slightly more code, but they are MUCH easier to understand, and almost always work more efficiently. I've seen a TON of problems caused by using the implicity ("UDS") method where programmers simply didn't understand all of the details of how it worked. (And, those details can't be gleaned from the program since RPG is doing all the work for you.)
Can you explain why you'd want to do this with implicitly read variables instead of IN/OUT? What value does this offer?
- Likes 1
Comment
Comment