Page 1 of 1

sort cond

Posted: Thu Feb 16, 2012 5:53 pm
by tirupathi rao
Hi

can we use include condition with out using sort condition in jcl?

Posted: Thu Feb 16, 2012 10:50 pm
by Frank Yaeger
Yes, you can use an INCLUDE statement with OPTION COPY. For example:

Code: Select all

   OPTION COPY
   INCLUDE COND=(11,5,CH,EQ,C'12345')
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:

http://www.ibm.com/support/docview.wss? ... g3T7000080