I have a thread that writes out to a file and each day I must stop the thread in order to get the file. Is there another way so that everyday instead of me stopping the thread the interface just creates a new file.
This will send the messages to a file with filename of today’s date. You can obviously add other identifying text to the front or back of the file. This way, at midnight it starts writing to a new file.
where I attempted to show a good bit of detail just how to use a TPS proc that changes the name of the outbound file dynamically.
Granted in the URL above I change the file name for every message and not just once a day but it will give you some of the details of how to implement the TPS proc that renames output files to whatever criteria suits your purpose.
Russ Ross
RussRoss318@gmail.com
Author
Replies
Viewing 4 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.