Can somebody explain IFTHEN in sort?

IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Can somebody explain IFTHEN in sort?

Postby syannigeri » Wed Dec 30, 2009 11:18 pm


It would be of great help, If someone explains how IFTHEN Works in SORT?
I am a guy who looks to learn, Than to ask ready made answers..

So atlease help me in getting the link to learn IFTHEN and GROUP etc( Advaced fetures)
Posts: 20
Joined: Tue Dec 22, 2009 11:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can somebody explain IFTHEN in sort?

Postby Frank Yaeger » Thu Dec 31, 2009 5:52 am

DFSORT's IFTHEN is fully described in "z/OS DFSORT Application Programming Guide" which is available from: ... g3T7000080

See the "OUTFIL Control Statements" Chapter and look for IFTHEN.

However, 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 from the link above.
Frank Yaeger - DFSORT Development Team (IBM) -
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at
User avatar
Frank Yaeger
Global moderator
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times



  • Related topics
    Last post