Statement: Merge

Funzione:
              L'istruzione MERGE fonde due o più files di uguale struttura.
 
Formato
 
 
 
 

 

                MERGE   ON                     KEY    nome-dati-1     ....

                                                                       
ASCENDING
DESCENDING

 

                                 [ COLLATING SEQUENCE IS nome-alfabeto ]    USING nome-file-2 { nome-file-3 } ....

THROUGH
THRU
                                        
OUTPUT PROCEDURE IS nome-procedura-1                                   nome-procedura-2


GIVING nome-file-4