Posted: Fri Jun 12, 2009 7:22 am Post subject: Compare two fields in a same record using DFSORT
Hi All,
I have a file of 80 LRECL.
Now I want to compare two fields in a record (Both the fields are in same record). If they are matching then I need to write that record to output file. Is it possible using DFSORT?
EX:
Input record:
aaaaabbbbbcccccdddddaaaaa
Here I want to compare the value in position 1-5 with position 21-25. If both are matching then I want that record to output file.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Sun Jun 14, 2009 7:08 pm Post subject:
Anand,
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum