output to issue

Posted by Admin on 05-Jun-2010 06:13

Hi all,

I have a  file and i want to insert a some rows in the midle of it, but i don't know how.

I know i can use output to 'eee.txt' append to put my text at the end of the file,

but what i want is to locate a sentence in the text file and after that sentence to add some rows.

Thanks in advance

All Replies

Posted by jmls on 05-Jun-2010 06:34

1) look at the SEEK function

2) load the file into a longchar, insert text at appropriate point,

write back out to file (see COPY-LOB)

HTH

Julian

This thread is closed