Thanks!  I knew there must be something.
Frank
-- 

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


On 5/9/2011 at 3:23 PM, in message
<offf5bd485.e13342b7-on8825788b.007544bd-8825788b.00757...@us.ibm.com>, Frank
Yaeger <yae...@us.ibm.com> wrote:
> Frank Swarbuck on IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>
> wrote on 05/09/2011 02:09:40 PM:
>> 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?
> 
> You need to have EQUALS in effect to guarantee that.  For example, add
> the following to //SYSIN:
> 
>    OPTION EQUALS
> 
> Frank Yaeger - DFSORT Development Team (IBM) - yae...@us.ibm.com 
> Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
> 
>  => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort 
> 
> ----------------------------------------------------------------------
> 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

>>> 

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