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
what is the length of a variable in rpg?
records can be read/update/deleted with which file?
what is the difference between sflclr and sflinz?
what is the difference between *like and *namvar ?
what is the use of dspatr(mdt) keyword?
can you have multiple key lists for a single file ?
How to convert a spool file to PDF file in AS400?
explain the difference between defining subfile and message-subfile?
how can you specify no duplicate key?
what is the maximum number of record formats in dspf?
what is the use of data structures?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
What Is The Difference Between Goto & Exsr?
how you get the relative record in a subfile in which cursor is located?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?