My input file has few records separated by '#'.
INPUT: LRECL=80, RECFM=FB
100200
200300
#
100002
200003
#
300400
400500
#
500600
600700
200300
#
100002
200003
#
300400
400500
#
500600
600700
I want a same number applied on the records fall between '#' symbol.
OUTPUT:
100200
200300
#
100002 0001
200003 0001
#
300400 0001
400500 0001
#
500600
600700
200300
#
100002 0001
200003 0001
#
300400 0001
400500 0001
#
500600
600700
Can you please help me it with Syncsort.
Thanks.