To prevent duplicate records from being inserted into an indexed file, you can use the _____ clause in the file description.
- DISTINCT
- NO-DUPLICATES
- NO-DUPS
- UNIQUE
The NO-DUPLICATES clause in the file description of an indexed file ensures that duplicate records with the same key value are not allowed, preventing the insertion of records with duplicate keys.
Loading...
Related Quiz
- The _______ clause in a PERFORM statement is used to specify the condition for loop termination.
- When using the OPEN verb in COBOL, what is the primary purpose of specifying the ACCESS MODE clause?
- The _____ statement is used to invoke a subprogram in COBOL.
- In a COBOL program, what file organization is typically used for master files in a database system?
- What does "scope" refer to in the context of COBOL programming?