In my input file, there is a field having values of A, B, C or D etc of one char.
In my output file I want all A or B to be written as 'Y' and all C or D or rest to be written as 'N'.
Could anyone please suggest what should be sort card or how can i do it with Sort.
Please let me know what does 'SS' mean in the following
and when=none means for the rest of values or something else.
WHEN=NONE means any record that did not satisfy the WHEN=(logexp) conditions.
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: