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 *inzsr used for?
What are the mandatory keywords of sub file?
What is the difference between crtdupobj and copyf?
what is the use of sflend keyword?
what are necessary keywords to code message subfile?
explain the difference between defining subfile and message-subfile?
what does vldcmdkey means?
how do you specify page overflow indicator for printer files in rpg?
What is the Difference between command attention key and command function key ?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
what does check opcode do ?
what are the different methods to access seu?
what are the different types of arrays available in rpg ?
how to pick up the changed records every time in a subfile after the first change made ?
what is a composite key?