Page 2 of 2

Re: how to copy header record during sorting.

PostPosted: Fri Aug 14, 2009 1:34 am
by dick scherrer
Which could waste an incredibly large amount of space. . .

d

Re: how to copy header record during sorting.

PostPosted: Fri Aug 14, 2009 6:45 pm
by leon
helen2000
I have the same question as you. you can try the code in ICETOOL. it just sort the records except header. good luck!
//TOOLIN DD *
DATASORT FROM(IN) TO(OUT) HEADER  USING(CTL1)
/*
//CTL1CNTL DD *
  SORT FIELDS=(your sort key)
/*