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 are various techniques to pass parameters from one program to another?

1863


how many files can be defined in f specs?

2372


which are the relational operators in rpg?

1132


what is the function of crtdupobj command?

2081


what does check opcode is used?

1797


How Many Specs Are There In Rpg & Which Are They?

1102


Difference Between Interactive & Batch Job?

1242


how can I start a page in a new window?

1226


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2528


Difference between NOPASS & OMIT?

1861


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

1085


how can a cgi check whether an ifs object is available?

1103


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1704


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

1079


How to add 99 menu (page down) option in menu creation..

2365