Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

what is the sequence when using cursor?

1221


define a shared access path?

1758


what are the limitations of cl (compare to rpg) ?

2315


how many files, printer files you can describe in a rpg?

1140


which are the query selection criteria, which can be given in a query?

1172


what are the different types of variables available in cl?

1821


when would you use or not use this approach?

1543


In RPG How to read a records from a file without using read opcodes?

1522


how do you pass parameters in cl?

1818


What is RETURN CURSER LOCATION in subfile?

1570


What Does Lokup Does In Tables & Arrays?

1271


how many specifications are there in rpg/400? What are they?

2007


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

1061


when do you explicitly open files and close files in an rpg program?

2060


What is a query can be displayed without saving it?

1092