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 physical file?
Difference Between Interactive & Batch Job?
how can database records be read without lock ?
how can I give more performance to some selected pages?
How do you check object lock
different type of cursor?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
what is the purpose of ovrdta and ovrata keywords ?
what is the version of os/400 that we have?
what is the difference between packed decimal and zoned decimal?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
define the purpose of the leave operation?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
can you specify a display file to be used in the following modes input,output, or combined modes ?
maximum number of subfiles that can defined in a rpg program for one display file is?