Diff B/w ref and reffld?



Diff B/w ref and reffld?..

Answer / 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

More IBM AS400 AllOther Interview Questions

what is cab?

0 Answers   IBM,


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1 Answers   IBM,


In which specification Data Structures can be defined?

1 Answers  


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

0 Answers   BlackRock,


what is maximum number of arrays allowed in rpg?

1 Answers   IBM,






can we define multi-dimensional arrays in rpg ?

1 Answers   IBM,


What is binder language ?

0 Answers  


different type of cursor?

0 Answers   IBM,


When will DUMP and DEBUG opcodes be ignored?

1 Answers  


how can we view the entire objects and its types in a pgm?

7 Answers   Mind Tree,


how do you turn off indicators 50 through 59 in only one operation

1 Answers  


Can be OVRDBF command mentioned after OPNQRYF command in CL?

1 Answers  


Categories