Hi. I have come across an old program in our IBM i shop, where they described a Physical file (Fields are defined using DDS) as Program-described file (mentioning Input only, Total record length and key fields length) in the File Declaration Specifications in a RPGLE program. And declared a Data Structure for that file.
I like to know what is the advantage of Program described files in this case, when it could have been easily declared as an externally described file without needing to mention record length and key fields length at the file declaration level ??
Is there any performance advantage in declaring a file as Program-described when the file has more fields/record length ?
I like to know what is the advantage of Program described files in this case, when it could have been easily declared as an externally described file without needing to mention record length and key fields length at the file declaration level ??
Is there any performance advantage in declaring a file as Program-described when the file has more fields/record length ?
Comment