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
what is the difference between seton lr and retrn?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
what is the purpose of data structure?
writing an sql statement from selecting records from two files using single statement and nested select statement.
what the purpose of ovrdta, ovrata keywords?
What Is Ddm ?
what are the different types of variables available in cl?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
What is the draw back of Procedures? why we are going to Modules?
what is the difference between packed decimal and zoned decimal?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
how can you execute a command from within an rpg program without calling a clp program?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
can you display a empty subfile?