IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Doubt in JCL SORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sumivel

New User


Joined: 13 Sep 2005
Posts: 18

PostPosted: Thu Oct 13, 2005 10:40 am
Reply with quote

can any one give me a jcl TO SORT a file CMMS.M750.TRANS FROM COL 3 TO COL13,EXCLUDE RECORD IF THE CONTENT IS TH SAME DUPLICATE KEY
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Thu Oct 13, 2005 11:12 am
Reply with quote

Hi,

Try the following code

SORT FIELDS=(3,10,CH,A)
SUM FIELDS=NONE

Sum fields = none will drop the dupliacte records.

If u have any quesry on this please let me know.

Thanks & Regards
Sridevi
Back to top
View user's profile Send private message
sumivel

New User


Joined: 13 Sep 2005
Posts: 18

PostPosted: Thu Oct 13, 2005 11:51 am
Reply with quote

Thanks sri devi...
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top