|
Ashish,
Here are some articles that I've written about validating e-mail addresses. (These may require a System iNetwork membership, I don't remember.. but a free ("Associate") membership should suffice.)
http://systeminetwork.com/article/validate-e-mail-address-regular-expression
http://systeminetwork.com/node/61284
This subject has been discussed here and in other forums quite a few times. You may find it helpful to search the archives.
http://archive.midrange.com
http://forums.systeminetwork.com
Ashish Kulkarni wrote:
HiDoes anyone have sample of validating email address in RPGLE program,
For example in RPGLE i can write
'@':1 Scan $1SeMail @Pos
If @Pos = 0
//process error here
endif
But this code will only work if CCSID is 37, as @ will be valid only for
CCSID 37, but what is CCSID is different.
How do i check for the character,
Does anyone have any idea or sample code to do so
Ash
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.