Solved

Progress Data base 9.1d append file

Posted on 2013-07-01
4
468 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
Comment Utility
OUTPUT TO <stream> TO <filename> APPEND should work

You may need to test for file existence first!
0
 

Author Comment

by:spoye
Comment Utility
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
Comment Utility
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
Comment Utility
thank you
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Creating and Managing Databases with phpMyAdmin in cPanel.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now