View previous topic :: View next topic
|
Author |
Message |
puppalso
New User
Joined: 07 Dec 2007 Posts: 8 Location: Pune
|
|
|
|
Hi,
Please help me ...
From the input dataset using JCL SORT I want to include only 1-10 and 20-40 positions of data to the output dataset, how to code using sort |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Soma,
Use DFSORT's INREC statement for your requirement.
Code: |
//SYSIN DD *
OPTION COPY
INREC BUILD=(1,10,20,21)
/* |
|
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Soma,
Aaru showed you the DFSORT statements you need.
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:
Use [URL] BBCode for External Links |
|
Back to top |
|
|
puppalso
New User
Joined: 07 Dec 2007 Posts: 8 Location: Pune
|
|
|
|
Hi Aaru,
Thank U very much...it worked...
Hi Frank,
Thank U very much for providing Manuals... |
|
Back to top |
|
|
|