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

Answer Posted / sj

UNIQUE - Its file level keyword in PF. If you specify this
keyword then duplicate key values are not allowed in PF.
Ex. IF key field is cusno then no duplicate records are
allowed in cusno field

PFILE: Its logical file keyword to specify the Physical
file name.

REF: To specify the file name where the field discriptions
are present.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

597


what is a spool file?

661


how does union file maintains record formats?

611


What is RETURN CURSER LOCATION in subfile?

1068


how to pick up the changed records every time in a subfile after the first change made ?

996






what are the basic features of seu?

603


what is a composite key?

992


how many levels are there in a physical file?

981


what is the use of sflend keyword?

965


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

632


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2070


How can we change the uppercase to Lowercase in RPG?

922


what is a primary file?

1031


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

603


what key word is used when screen is re-display?

642