Progress ABL - strip and add to temp table

Status
Not open for further replies.
J

james156

Guest
I'm coming from a Java/.NET background and trying to learn ABL but the difference in structure and the limited information on the internet is making it hard. What I want to do is import data from a text file which is in the following format:

john smith 52 ceo ...

line by line, and take the different parts based on the position of the character. For example, positions 1-10 are for the first name, 10-20 second name and so on... Do I have to use entry for that? If so can someone more experienced give an example how to do it cause I'm quite confused. Then I need to add a record for each line to a temp-table I have created called tt-employee. How do I go about doing that?

I apologise if my question is a bit vague but as I said, I am new to this so I'm still figuring things out. Thank you!

Continue reading...
 
Status
Not open for further replies.
Top