Joined: 12 Sep 2006 Posts: 15 Location: Chennai, Tamilnadu, India
Example :
You could use the following statements to show all of the authors for the books used in computer science.
Code:
INCLUDE COND=(110,5,CH,EQ,C’COMP’)
SORT FIELDS=(76,15,CH,A,91,15,CH,A)
OUTREC BUILD=(91,15,X,76,15)
The authors first name and last name will be displayed in the Upper Case. If you wanted to display these names with an initial uppercase letter and the subsequent in lower case letters, you could use the following OUTREC statement.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Prema,
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: