Unable to read data from FlatFile

rkreddy

Member
Hai Everyone,

I have a flatfile header and details data. Used FETCH NEXT LINE FROM FLATFILE business function to fetch each record from the file and tried to insert the same into the table. I took while loop to insert and in that loop I took one more FETCH NEXT LINE FROM THE FLATFILE to fetch next record.

But when I run the UBE, am getting errors such as " memory voilation error" or "loop will run unending" or "activeconsole.exe has stopped working"

I made sure that the flatfile is in proper format and code is perfect with delimiter validations. Please let me know the solution,if anyone had encountered the same.

Thanks in advance.

Thanks,
RKReddy.
 
Make an entry for encoding in P93081 for CP1252.
Activate the record.

Check thereafter and you should be good.
 
Back
Top