Answer Posted / anonymous- projo
REF and REFFLD are keywords that can be used in DDS during
creation of physical files.
The following are the differences
1. Ref is a file level keyword - Reffld is a field level
key word.
2. Ref is used to refer to a field reference file and we
write field reference file as its argument. With this we
can bring attributes and keywords defined in FRF intto the
DDS we are defining. This requires R in the REF column of
the Field in the DDS.
Reffld when used also requires R in the Ref column of DDS
and this can draw attributes and keywords that are already
defined in amy file and any field. The file name and the
field name are mentioned as arguments to this keyword.
3. Both can be freely used within the same DDS if needed.
4. These keywords help only at file creation time and has
no impact when the file referenced is changed at later
time.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
what is the purpose of data structure?
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...
Using %check we are checking monika in mona what is output? What is %SCAN?
what are the different types of arrays available in rpg ?
using dfu, user will be able to ___________ from physical file?
what is the difference between sflclr and sflinz?
what is maximum number of arrays allowed in rpg?
how can you specify no duplicate key?
which type of object is used in db2/400?
how many files can be defined in f specs?
Can we debug the MSGW JOBS?
define the purpose of the *cat function?
How to convert a spool file to PDF file in AS400?
what key word is used when screen is re-display?
Difference Between Source Physical File & Physical File?