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


Please Help Members By Posting Answers For Below Questions

what is the purpose of ovrdta (override data) keyword?

1079


what is sflpag and sflsiz ?

2300


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?

559


define a output queue?

947


How can we update a specific field in RPG?

935






define the purpose of the iter operation?

1043


What is file access opcodes?

765


how many levels are there in a physical file?

1013


what is message subfile?

1057


which cl command can be used at program execution to redirect the file named in an rpg program?

717


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)?

409


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1015


What is difference between rename and prefix?

587


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

7049


what is the purpose of putovr (put with explicit override) keyword?

945