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

COPY

COPY returns a CHARACTER string consisting of y concatenated copies of the string x.

Read syntax diagramSkip visual syntax diagram>>-COPY(x,y)---------------------------------------------------><
 
x
Expression.

x should have CHARACTER type, and if not, it is converted thereto.

y
Expression that specifies the number of repetitions. y should have FIXED type, and if not, it is converted thereto.

y must be nonnegative.

If y is zero, the result is a null string.


Terms of use | Feedback

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