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

How to see active jobs of the system.

1 Answers  


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

0 Answers   Virtusa,


What is a Member?

1 Answers  


How to avoid using indicators in ile ?

0 Answers   IBM,


What is the use of Header Specification in RPG/400?

1 Answers  






How to trap errors in CL?

1 Answers  


what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?

2 Answers   Cognizant,


What are all the different types of access path?

1 Answers  


What is SFLSIZ ?

1 Answers  


What are the two types of read performed on data queues?

1 Answers  


List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased

1 Answers  


what is the maximum number of files allowed in rpg?

1 Answers   IBM,


Categories