Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of UNIQUEUE KEY WORD?
what is the difference between PFILE AND REF?

Answer Posted / vp86

unique keyword is file level keyword you can use physical file as well as logical file also if you use the unique keyword then you prevent the duplicate value in particular filed and one more necessary condition file should be keyd.

pfile : That keyword is logical file keyword its record level keyword through we can create the logical file .

syntax for that keyword : pfile(physical file name).

ref: this keyword is file level keyword we can use only taking the field attribute reference .
syntax for that keyword :ref(lib/file/rcdname)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the length of a variable in rpg?

1605


records can be read/update/deleted with which file?

1028


what is the difference between sflclr and sflinz?

1676


what is the difference between *like and *namvar ?

2449


what is the use of dspatr(mdt) keyword?

2170


can you have multiple key lists for a single file ?

1606


How to convert a spool file to PDF file in AS400?

1178


explain the difference between defining subfile and message-subfile?

1775


how can you specify no duplicate key?

1104


what is the maximum number of record formats in dspf?

1612


what is the use of data structures?

1075


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1596


What Is The Difference Between Goto & Exsr?

1592


how you get the relative record in a subfile in which cursor is located?

1037


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

1032