jnkarthik wrote:Thanks Mr. Kolusu,
The output what you are producing is what I required exactly.
I tried your sample and it is working but I have 29 groups in my input file but the output produced only for one group. May be it has not found the searching criteria properly not sure why it is? Since it has taken the complete file, It produced me the complete file byte count instead of the group. Could you tell why this is so?
The job I have shown assumes that the group starts with X'5044462D312E330A' at position 5 . So you need to check if that is true for all the 29 groups. I can't tell you why the job doesn't work without knowing how your data looked like ( please don't post the unprintable characters dump) .
If you still have problems , Show me the complete SYSOUT from the job you ran.