In <[EMAIL PROTECTED]>, on 10/16/2008
at 06:22 AM, "P.Sabarish Kannan" <[EMAIL PROTECTED]> said:
> I have a requirement to insert some records in the beginning of a file
>where already some lines are existing .
You can't; you need to rewrite the entire file. For classical sequential
files I recommend writing a new file rather than writing on top of the old
file. That way, if something happens in the middle you haven't lost your
data. For Unix files that shouldn't be necessary.
It's too bad that IBM killed TSS.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html