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
how do you read changed records backward in subfile?
What is %CHECK?
when do you use f-spec. Continuation line ?
what is the clp command to access a query/400?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
Difference between NOPASS & OMIT?
difference between view and index ?
how to get the cursor position?
how do u compile rpgle program?
what is the maximum number of records you can specify in a display file?
how to pick up the changed records every time in a subfile after the first change made ?
what is match field indicator?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
what is a program described file in rpg?
which are the query selection criteria, which can be given in a query?