Hi,
I want to write to a file in server routine, is it possible.
need to write/append to a file through routine
Moderators: chulett, rschirm, roy
Yes. You basically write to the file as you normally would but use the SEEK command first to move to the end of the file before writing. Lots of information to be found if you do an exact search for "OpenSequentialFile" here and then start at the bottom of the results with Ray's post from 2005 that contains the code for that routine. Other discussions on the subject ensue as you motor forwards in time. ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Craig meant to link to this thread.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.