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 the purpose of dynslt keyword?

1014


WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1706


What is dynslt?

772


how you will find an error which is not in the first page of the subfile without using rolldown key?

541


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

543






define data structure?

992


what are various techniques to pass parameters from one program to another?

1027


how many printer files can be defined in f specs ?

957


Space & Skip Are Which Level Keywords?

740


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

569


what is the use of sflend keyword?

961


what are members?

599


what is a logical file?

1026


define the rcvf command?

967


when are the unique constraints executed?

666