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
what is a spool file?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
can you specify a display file to be used in the following modes input,output, or combined modes ?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
what is procedure prototype and procedure interface.
define what a data queue is along with a brief example of what it may be used for?
when should I use method get, and when should I use method post in my cgis?
how can you check for a records existence without causing and i/o (chain/read)?
what does the ovrdbf command do?
in which specification the report layout can be defined?
Can we debug the MSGW JOBS?
can a join logical file be updated?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
define a shared access path?