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


Please Help Members By Posting Answers For Below Questions

If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2394


How Many Specs Are There In Rpg & Which Are They?

853


how can I predict the performance of my cgis?

828


what is a keyed physical file?

1319


define the rcvf command?

1282






what is a composite key?

1282


how will you find a string using pdm?

888


what is the use of dspatr(mdt) keyword?

1787


how can I control from my cgis the cache of a remote browser?

870


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2311


how many files can be defined in f specs?

1803


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

1432


when should I use method get, and when should I use method post in my cgis?

796


what is full form for dds?

945


how to write *pssr ?

815