Hi Mike,

No they are not sorted, that was the problem, I was trying to keep them
in the input order but I can do that by adding a SEQNUM  using INREC. 

I have been looking at this for a couple of days and it makes perfect
sense now that you ask but I couldn't see the wood for the trees.

Thanks

James

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
Behalf Of Mike Wood
Sent: 13 February 2012 14:30
To: IBM-MAIN@bama.ua.edu
Subject: Re: DFSORT Select First

James, Are the records already sorted based on the 'key' you are using
to select the duplicates?
COPY does no sorting, just looks at the records in the sequence you
already have.

Mike Wood

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


--
This is a confidential communication and is intended only for the addressee 
indicated in the message (or duly authorised to be responsible for the delivery 
of the message to such person). You are specifically prohibited from copying 
this message or delivering the same, or any part thereof, to any other person, 
whomsoever or howsoever, unless you receive written authorisation from us to 
do. 

If you are anyone other than the intended addressee, or person duly authorised 
and responsible for the delivery of this message to the intended addressee, you 
should destroy this message and notify us immediately. 

Please note that we accept no responsibility whatsoever in the event that this 
message or any other email message or any part thereof becomes known or is 
communicated to anyone other than the intended recipient or other person 
authorised in writing by us to receive it, howsoever arising and disclaim all 
liability for any losses or damage which may be sustained by any person as a 
result thereof.

Irish Life Assurance plc is regulated by the Central Bank of Ireland.
Irish Life Financial Services Limited is regulated by the Central Bank of 
Ireland.


"Irish Life" is a member of the Irish Life and Permanent plc group. Irish Life 
Assurance plc is a company registered in Ireland. Registered office is situated 
at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered Number 152576.
Irish Life Financial Services Limited is a company registered in Ireland. 
Registered office is situated at Irish Life Centre, Lower Abbey Street, Dublin 
1. Registered Number 489221.
==============================================================================

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to