What is the benefit of using Externally Described files
over Internally
Described?

Answers were Sorted based on User's Feedback



What is the benefit of using Externally Described files over Internally Described? ..

Answer / nani

Externally Described files:
---------------------------
File definitions and descriptions defined outside of the programs only.
Internally Described files:
---------------------
this files are also called as program described files.
File definitions and descriptions defined inside of the program only.

Is This Answer Correct ?    0 Yes 0 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / pankaj

NO IDEA PLEAS PLS HELP ME

Is This Answer Correct ?    1 Yes 2 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / 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

What is the benefit of using Externally Described files over Internally Described? ..

Answer / kumar vikas

You can check with dspfd(PF) which will show that file is described externally
and dspfd(flatf) which will show that file is not described externally.

Is This Answer Correct ?    0 Yes 1 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / guest

Answer please...

Is This Answer Correct ?    2 Yes 4 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / cyjil

EXTERNALLY DESCRIBED FILE CONTAINS NAME AND RECORD LENGTH..
BUT IT DOESN'T CONTAINS DDS LEVEL ENTRIES

Is This Answer Correct ?    2 Yes 4 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / rami

The input buffer for this file is created at the time of
compilation itself whereas in case of program description
the input buffer will be created at the time of running the
program.

Is This Answer Correct ?    1 Yes 3 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / newbiezhang

no idea, what is the Externally Descibed files?
maybe the Data Describe File? include PF source file and LF
source file?
it's a better idea to store data format in a externally
file other than store it in the program. because we can
change data format more easier.

Is This Answer Correct ?    0 Yes 3 No

What is the benefit of using Externally Described files over Internally Described? ..

Answer / prima krishnan

Program Described:-

For program-described files, the file name entered in
positions 7 through 14 must also be entered on:

° Input specifications if the file is a primary, secondary,
or full procedural file

° Output specifications or an output calculation operation
line if the file is an output, update, or combined file, or
if the file is an input file and records are also being
added to the file

° Extension specifications if the file is a table, array, or
record address file, or a file processed by a record-address
file

° Calculation specifications if the file name is required
for the operation code specified

° Line counter specifications if the device is a printer and
default values are to be overridden.

Externally Described File

For externally described files, the file name entered in
positions 7 through 14 is the name used to locate the record
descriptions for the file. The following rules apply to
externally described files:

° Input and output specifications for externally described
files are optional. They are required only if you are adding
RPG/400 functions, such as control fields or record
identifying indicators, to the external description retrieved.

° When an external description is retrieved, the record
definition can be referred to by its record format name on
the input, output, or calculation specifications.

° A record format name must be a unique symbolic name.

° A logical file with two record formats of the same name
cannot have the duplicate format names renamed and cannot be
externally described. However, such a file can be accessed
if it is program described.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the type, length of a LDA?

1 Answers  


What is RETURN CURSER LOCATION in subfile?

0 Answers  


Define an Interactive Job?

1 Answers  


What is GDA?

1 Answers  


How can the user implicitly open and close the files in RPG program ?

2 Answers  






I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


How to inner join more than 2 PFs in a CL program using OPNQRYF command?

1 Answers  


which cl command can be used at program execution to redirect the file named in an rpg program?

0 Answers   IBM,


what is maximum number of arrays allowed in rpg?

1 Answers   IBM,


How to create files dynamically without DDS?

1 Answers  


How many secondary files allowed in a program?

1 Answers  


define the purpose of the *cat function?

1 Answers   IBM,


Categories