I have a field in my CICS BMS map as email-id. I want to validate that field for various validations such as it should contain only 1 '@' character and only 1 '.co.in' or '.com' otherwise user should be prompted to enter a valid email-id.
- I have tried working on it with
EXAMINE
verb but it is just working for '@' validation. Somehow it is not working for '.co.in' or '.com'. I think, I am going wrong somewhere. - Problem is in
EXAMINE
verb I can't use different counter for every field. So I want to know how to validate multiple strings using examine verb.