Given the following:

//MERGESCF JOB ,'MERGE SCF',NOTIFY=&SYSUID  
//MERGE    EXEC PGM=SORT                    
//SORTIN01 DD DISP=SHR,DSN=DAT1.CVSC.CVSSCF 
//SORTIN02 DD DISP=SHR,DSN=DAT2.CVSC.CVSSCF 
//SORTOUT  DD DISP=SHR,DSN=DVFJS.CVSC.CVSSCF
//SYSOUT   DD SYSOUT=*                      
//SYSIN    DD *                             
  MERGE  FIELDS=(1,30,BI,A)                 
  SUM    FIELDS=NONE                        
/*                                          

Can I be guaranteed that if there a record with the same key in both SORTIN01 
and SORTIN02 that SORTOUT will always get the record from SORTIN01 and not 
SORTIN02?

Thanks,
Frank

-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation - Lakewood, CO  USA
P: 303-235-1403


>>> 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to