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 are various techniques to pass parameters from one program to another?
how many files can be defined in f specs?
which are the relational operators in rpg?
what is the function of crtdupobj command?
what does check opcode is used?
How Many Specs Are There In Rpg & Which Are They?
Difference Between Interactive & Batch Job?
how can I start a page in a new window?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
Difference between NOPASS & OMIT?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
how can a cgi check whether an ifs object is available?
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
records can be read/update/deleted with which file?
How to add 99 menu (page down) option in menu creation..