Dear All,

I want to read a Text based stream file from RPG, file length is 180 and it
does NOT have any CR or LF

for example file is like

5555IN 111517108002000005

4444IN
111517108001000000001481000000003000000000000000000000000000510118295005

00007108001250000963003A.W.A. Kandy
23000000000000000805000LKR7010001001000075555Test Bene XXXXXXXX
STS01 : 0024641110602003878
00007108001250000458001M. Altaf Hussain
24000000000000000156000LKR7010001001000075556Test Bene XXXXXXXX
STS01 : 0024641110602002976
00007108001010116874001Mohamed Rilha
52000000000000000520000LKR7010001001000075558Test Bene XXXXXXXX
STS01 : 0024641110602005228 4444IN
111517108002000000000170000000002000000000000000000000000000599654117150

00007108002589631593145Mayura Edirisinghe
24000000000000000125000LKR7010001001000075557Test Bene XXXXXXXX
STS01 : 0024641110602002854
00007108002010022524005Mohamed Iqdal
Sathar21000000000000000045000LKR7010001001000075559Test Bene
XXXXXXXX STS01 : 0024641110602003375


How can I do this in RPG, all Ideas highly appreciated.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.