Page 2 of 2

Re: SORT and COUNT using DFSORT/ICETOOL

PostPosted: Fri Nov 16, 2012 12:39 am
by bitbybit
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

Re: SORT and COUNT using DFSORT/ICETOOL

PostPosted: Fri Nov 16, 2012 2:19 am
by BillyBoyo
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.