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.
|
x must have computational type.
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.