T
Thiru Malai
Guest
i need to parse the XML after compare the previous line.For example following lines are present in the XML
Row 1.663 123465789 ADS445D
Row 2.664 846248636 ADS445D
Row 3.665 456792452 ADS445D
Below are my progress 4GL query for parsing XML
CASE cSegmenTNAME :
WHEN "663" THEN DO:
i = i + 1.
IF LENGTH(cInputData) = 128 THEN DO:
ASSIGN
i661 = i
lv_c_Customer_Number = SUBSTRING(cInputData,6,9).
Like wise I can parse every row but my doubt is I need to parse row 3 if previous row starts with 664.
Any answers appreciated here.
Continue reading...
Row 1.663 123465789 ADS445D
Row 2.664 846248636 ADS445D
Row 3.665 456792452 ADS445D
Below are my progress 4GL query for parsing XML
CASE cSegmenTNAME :
WHEN "663" THEN DO:
i = i + 1.
IF LENGTH(cInputData) = 128 THEN DO:
ASSIGN
i661 = i
lv_c_Customer_Number = SUBSTRING(cInputData,6,9).
Like wise I can parse every row but my doubt is I need to parse row 3 if previous row starts with 664.
Any answers appreciated here.
Continue reading...