Bruce Axtens
unread,Aug 3, 2022, 9:30:33 AM8/3/22You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Given
01 WS-SIDES PIC X(20).
01 WS-SIDE-NUMBERS PIC 99V9
OCCURS 3 TIMES
INDEXED BY SIDE-INDEX.
and
UNSTRING WS-SIDES DELIMITED BY ALL ','
INTO WS-SIDE-NUMBERS(1)
WS-SIDE-NUMBERS(2)
WS-SIDE-NUMBERS(3)
END-UNSTRING.
DISPLAY WS-SIDE-NUMBERS(1) SPACE WS-SIDE-NUMBERS(2) SPACE WS-SIDE-NUMBERS(2).
with WS-SIDES containing '0.5,0.4,0.6', I'm consistently getting "00.5 00.4 00.4" displayed. Why isn't the 0.6 ending up in WS-SIDE-NUMBERS(3)?
-- Bruce