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

What is %CHECK?

841


what opcode could be used to test an alphanumeric field for all numeric values?

1069


what is join logical file?

1048


Write a logic program for knowing the repeated number of a vowels in a given program?

3307


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3145






what is cab?

661


how can I start a page in a new window?

783


why do we use readc? What is sflnxtchg?

664


can you have multiple key lists for a single file ?

991


what key word is used when screen is re-display?

646


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

608


what is the use of data structures?

635


list some of the commonly used commands for debugging?

891


What are the record format field mapping options in cpyf?

611


how do you know that records are locked?

1155