Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
Hi,
I am using ICETOOL SELECT to remove duplicates. But now I want to include one more condition while doing so.
ie. my key fields are
key1--26,9,numeric
key2--35,9,character
If key1 = 0, i dont want the records to be skipped
My sortcard is
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
Hi Shankar,
Could you plz explain what this INREC will do. Does it reformats the input before writing into output? I want to write those records with key1 = 0 as it is into the o/p file.
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
INREC:
if in input file, if 26,9 equal to zeros, it will overlay with 26th position as '#' and 27,8 with sequence numbers.
OUTFIL:
wherever the '#' character found in 26th position, it will again made it to contain zeros in 26,9
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
Where can I get a detailed reference on the abovesaid options like "IFTHEN"in ICETOOL?
IFTHEN is actually a DFSORT function that can be used with DFSORT's ICETOOL. 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: