Q: Can you provide an example of calling the _SCANX MI instruction from RPG? A: For most situations, I suggest using RPG's %SCAN built-in function (BIF) to scan a string. It's easier to use than the _SCANX MI, and _SCANX is limited to searching for only one character, whereas the %SCAN BIF can search for longer strings. However, when you're scanning an area of memory that you've allocated to a pointer larger than RPG's 64 KB string limit, the _SCANX instruction can be the ...

REGISTER NOW TO ACCESS THIS ARTICLE

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

Already registered? here.