also remember that out of context question will usually lead to incomplete answers
Last edited by enrico-sorichetti on Wed Feb 01, 2012 7:43 pm, edited 1 time in total.
cheers enrico When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser, so that I am sure that the information requested can be reached with a very small effort
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:
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Also be aware that in the example shown, searching will start at the beginning of the record and end when the search can no longer be fulfilled (ie nearly the end of the record). If there are multiple occurences of the IN values, there will be multiple changes.
These effects can be modified by STARTPOS, ENDPOS and DO. There are also options to control the effects of the replacement (if potentially causing the output record to be longer).