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 difference between normal upddta to pf and updating using dfu program?
What are the record format field mapping options in cpyf?
How to add 99 menu (page down) option in menu creation..
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
define subsystem?
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 dfu, user will be able to ___________ from physical file?
what are the important factors in error message subfile ?
how to get the cursor position?
how many files can be defined in f specs?
What is the maximum number of subfiles that can be specified in a display file?
What is the use of jdftval in as400?
can a join logical file be updated?
Write a logic program for knowing the repeated number of a vowels in a given program?
what are the basic features of seu?