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

EDIT

Example

EDIT returns a character string of length LENGTH(y). Its value is equivalent to what would result if x were assigned to a variable declared with the picture specification given by y.

For the valid picture characters, refer to Picture specification characters.

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

x must have computational type.

y
String expression.

y must have character type and must contain picture characters that are valid for a PICTURE data item. If y does not contain a valid picture specification, the ERROR condition is raised.


Terms of use | Feedback

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