What sort product do you have? Syncsort or DFSORT? With DFSORT I would look at the ICETOOL manual. For Syncsort SYNCTOOL.
Are you finding all matches between File1 and File2 or are you looking for unique keys? You sample is not very clear to me Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf > Of Ron Thomas > Sent: Wednesday, October 17, 2012 2:15 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: sort jcl > > Hello. > > I have 2 files, I need to compare using DFSORT. Could someone please let me > know > how we can acheive? > > File-1 > > 100000038 004366456 > 100000039 494165545 > 100000040 497228431 > 100000041 408506918 > > File-2 > > 100000038 4366456 > 100000039 494165545 > 100000040 497228431 > 100000041 408506918 > 100000041 408506912 > > Output file > 100000041 408506912 > > Regards > Ron T > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN