MEMVERIFY returns an unscaled REAL FIXED BINARY value specifying the position in a buffer of the first (from the left) character, graphic or widechar that is not in a specified string.
|
The buffer length must have a computational type and will be converted to FIXED BINARY(31,0).
The buffer length must be nonnegative.
The string-expression x must have type CHARACTER (including PICTURE), GRAPHIC or WIDECHAR. The buffer length is interpreted as the number of units of that string type.
The address p and the length n specify the "string" in which to search for any character, graphic or widechar that does not appear in x.
If either the buffer length n is zero or x is the null string, the result is zero.
If all the characters, graphics or widechars in the buffer do appear in x, the result is zero.