i have an input file like this:
AAAAAA 11111111 222222222
AAAAAA 33333333 444444444
BBBBBB 11111111 555555555
CCCCCC 77777777 888888888
I need to create an output file entering an header everytime data change like this:
col1 col2 col3
AAAAAA 11111111 222222222
AAAAAA 33333333 444444444
col1 col2 col3
BBBBBB 11111111 555555555
col1 col2 col3
CCCCCC 77777777 888888888
including the blank line.
Is it possible to do with a jcl ?
Thank you.