Author: Arun Raj
Posted: Wed May 03, 2017 7:37 am (GMT 5.5)
For your first condition, can't you check for
OR
assuming data starts at position-1?
It is not so clear what you want to do with the last digit here. If you could show some sample input records and what you expect out of it, it might help.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard
Posted: Wed May 03, 2017 7:37 am (GMT 5.5)
For your first condition, can't you check for
Code: |
1,3,PD,GE,30000,AND,1,3,PD,LE,39999 |
Code: |
1,1,CH,GE,X'30',AND,1,1,CH,LE,X'39' |
It is not so clear what you want to do with the last digit here. If you could show some sample input records and what you expect out of it, it might help.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard