Q: We need to catch errors during data entry when someone keys in an e-mail address. On the Web, I've found regular expressions that can be used for this. How can I use them in RPG? A: ILE C comes with routines that can be used to compile and run a regular expression. Because one ILE language can call another's routines, you can use these from RPG to execute a regular expression. In this article, I demonstrate how to write an RPG program that uses a regular expression to validate ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.