A phisical file has two fields like 1) Account No(10,0)
2)Phone No(15,0)Unique on both fields?Please give me the
answer for this?
Answer Posted / swadesh.yadav
Your question is not very clear but whereas i understand
if we make both fields unique, both of fields accept the
values unique i.e it will not accept duplicate value
together.For Example
Acct.no Phone no.
1111 2222(we can put this values)
1111 2222(Duplicacy not allowed)
1111 3333(we can put that)
2222 3333(we can put that)
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
what is the purpose of ovrdta (override data) keyword?
what is sflpag and sflsiz ?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
define a output queue?
How can we update a specific field in RPG?
define the purpose of the iter operation?
What is file access opcodes?
how many levels are there in a physical file?
what is message subfile?
which cl command can be used at program execution to redirect the file named in an rpg program?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
What is difference between rename and prefix?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
what is the purpose of putovr (put with explicit override) keyword?