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 / gaurav

You can use File level keyword 'UNIQUE' which will accept
only unique record entry according to the key fields
defined.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different types of data areas?

977


Difference Between Interactive & Batch Job?

789


Write a CL program which will run a batch job at 1 am every night

669


what is the use of data structures?

631


What Is Ddm ?

1029






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

7024


how you will find an error which is not in the first page of the subfile without using rolldown key?

551


maximum number of subfiles that can defined in a rpg program for one display file is?

1024


what the purpose of ovrdta, ovrata keywords?

1163


when would you use or not use this approach?

888


what is the syntax for plist?

640


how do you specify page overflow indicator for printer files in rpg?

1458


how can I control from my cgis the cache of a remote browser?

670


how can we run a batch job?

729


how do you read data area in an rpg program?

1107