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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

613


what is the purpose of indicators in rpg?

1098


what is the use of dspatr(mdt) keyword?

1452


what is term cua , saa?

959


Difference Between Ca & Cf?

704






can we define multi-dimensional arrays in rpg ?

935


What is the difference between non-join logical files and join logical files?

619


WHAT IS FERERENTIAL INTRIGRITY ?

1112


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1158


what is the favicon.ico request that my site receives now and then?

647


which are the member types which seu supports?

813


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

944


what is the syntax for plist?

651


an access path may be in which sequence?

635


how do you specify the number of records to roll in a subfile ?

1250