What is the benefit of using Externally Described files
over Internally
Described?
Answer Posted / ankush chaudhary
Defining data files as externally described has several
advantages over program desribed files:
1. If you design the file using database design principles,
externally defined files can reduce the need for
duplication of data across fiels. This kind of duplication
is called redundancy. Because all programs using a given
file use the same field definition and names. Externally
described files impose standardisation among programs and
across applications.
2. Externally described also also increase programmers
efficiency and reduces errors because programmers don't
need to duplicate the file definition effort each time they
need to reference a file within the a program.
3. If it is necessary to add a field to a fiels records or
to change a fields definition, these changes need to made
in only one place (in the externally described file) rather
than in every program that uses that file. THus simplifying
maintenance.
Hope this much difference is suffient :))
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
writing an sql statement from selecting records from two files using single statement and nested select statement.
What are the different opcodes used for file operation on a subfile in a rpg pgm?
how do you use exceptional write in c specs?
What is dynslt?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
why do we use readc? What is sflnxtchg?
what is subfile?
how to validate input values in display file ?
how do you specify the number of records to roll in a subfile ?
can a join logical file be updated?
what is a program described file in rpg?
the maximum number of subfiles that can be active for a single file is ____ .
What Is The Object Type Of Pf, Lf, Printer File & Display File?
what is xfoot opcode ?
how can I predict the performance of my cgis?