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

CHARGRAPHIC

Example 1
Example 2

CHARGRAPHIC converts a GRAPHIC (DBCS) string x to a mixed character string with a length specified by y.

Read syntax diagramSkip visual syntax diagram>>-CHARGRAPHIC(x-+----+-)--------------------------------------><
                 '-,y-'
 

Abbreviation: CHARG

x
Expression.

x must be a GRAPHIC string. CHARACTER returns x converted to a mixed character string.

y
Expression. If necessary, y is converted to a real fixed-point binary value.

If y is omitted, the length is determined by the rules for type conversion.

y cannot be negative.

If y = 0, the result is the null character string.

The following rules apply:


Terms of use | Feedback

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