MY input file looks like this
hdr^123?^11asgg^
a^fsg^slsndd^gsg^fsdgs^
d^fgn^glkl^gdfngl^gdkgd^
m^fgfnd^sgndflghkldgh^sdnglfh^
trl^ngdfldkhkdglh^gfkgjdf^
I want to handle these records using Unstring function in COBOL, but i want to eliminate the records starting with "hdr" and "trl".
How is it possible ? Can anyone help me out in this?