What is the benefit of using Externally Described files
over Internally
Described?
Answer Posted / brian kelly
substantially less coding, consistent field names.
Only need RPG input specs for externally described files if
you are using the cycle with matching records or level
breaks. Even then, you need only specify the fields thata
re involved in the match or the break. No need to describe
output specs for DB files. Can also describe printer files
externally and display files naturally are described
externally in a file object. At compile time, the compiler
sneaks ino the file object and creates input and output
specs from those files that have the RPG "E" switch turned
on in col 19 of RPG/400. Same facility exists in RPGIV in
another column.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how can you specify no duplicate key?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
what is full form for dds?
how can I control the way a remote browser uses its cache?
what is the difference between normal upddta to pf and updating using dfu program?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
How to reverse a string using RPG?
what are the different types of arrays available in rpg ?
How do I remove a flag or check no. or name when a user opens too many sessions?
How can we update a specific field in RPG?
explain the difference between defining subfile and message-subfile?
how do you specify page overflow indicator for printer files in rpg?
what is *inzsr used for?
Difference Between Interactive & Batch Job?
how many printer files can be defined in f specs ?