SORT and COUNT using DFSORT/ICETOOL



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

Re: SORT and COUNT using DFSORT/ICETOOL

Postby bitbybit » Fri Nov 16, 2012 12:39 am

Got it...I havent coded much jcl...lot to learn. Thnx for pointing that out and that wrked.
//SYSIN     DD *                                 
 INREC IFTHEN=(WHEN=INIT,OVERLAY=(75:C'000001'))
 SORT FIELDS=(34,4,CH,A,51,4,CH,A)               
 SUM FIELDS=(75,6,ZD)                           
 OUTREC BUILD=(34,4,X,51,4,X,75,6)
Code'd
bitbybit
 
Posts: 29
Joined: Fri Jul 13, 2012 10:05 pm
Has thanked: 6 times
Been thanked: 0 time

Re: SORT and COUNT using DFSORT/ICETOOL

Postby BillyBoyo » Fri Nov 16, 2012 2:19 am

OK. It's not JCL that you are coding here, so much as "Sort control cards". All utility programs have control cards of one type or another. JCL is just the stuff starting with "//".

Also, here, try to use the Code tags for preserving the formatting of what you post. Highlight the text and click the Code button. Use Preview to see that it looks how you want, and then Submit.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Previous

Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post