Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

MEMVERIFYR

Example

MEMVERIFYR returns an unscaled REAL FIXED BINARY value specifying the position in a buffer of the first (from the right) character, graphic or widechar that is not in a specified string.

Read syntax diagramSkip visual syntax diagram>>-MEMVERIFYR--(--p--,--n--,--x--)-----------------------------><
 
p
Address of buffer to be searched.
n
Length of buffer to be searched.
x
String-expression.

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.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)