The condition here is: the copy should start when (01,02,CH,EQ,C'CC')
and it should end when (01,02,CH,EQ,C'FF')
I am not sure if we can use these condition inside SKIPREC OR STOPAFT.
However, if anyone knows a simpler way, please let me know.
I modified the sortcard to my exact requirement... my end condition was also getting satisfied exactly at the first row... so it was copying just one row.