Progress Data base 9.1d append file

Posted on 2013-07-01
Last Modified: 2013-07-08

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.

Question by:spoye
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

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

You may need to test for file existence first!

Author Comment

ID: 39296804
Thank You,  could you show me how to check for file existence?  Thank  you again

Accepted Solution

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.

Author Closing Comment

ID: 39307567
thank you

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

688 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