Solved

Progress Data base 9.1d append file

Posted on 2013-07-01
4
508 Views
Last Modified: 2013-07-08
Hello,

Does anyone know how/if possible to append to a csv file in progress.   As it stands now I have a export stream that moves the data from the tmp table to the file.  If the file exists I need to append to it.   I have not been able to accomplish this task.  Please help if possible.

Thanks
0
Comment
Question by:spoye
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:smilieface
ID: 39295428
OUTPUT TO <stream> TO <filename> APPEND should work

You may need to test for file existence first!
0
 

Author Comment

by:spoye
ID: 39296804
Thank You,  could you show me how to check for file existence?  Thank  you again
0
 
LVL 3

Accepted Solution

by:
smilieface earned 500 total points
ID: 39298806
Just open the stream append. It should create the file if it doesn't exist if I remember correctly.
0
 

Author Closing Comment

by:spoye
ID: 39307567
thank you
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question