Conversion from CHARACTER to GRAPHIC, where the target is too short to contain the result:
dcl X char (10) varying; dcl A graphic (8); A = graphic(X);
| For X with value | Intermediate Result | A is assigned |
|---|---|---|
ABCDEFGHIJ |
.A.B.C.D.E.F.G.H.I.J |
.A.B.C.D.E.F.G.H |