Export data using csbatch program - 2 -

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Mariovaisman
Posts: 133
Joined: February 11th, 2013, 8:26 am

Export data using csbatch program - 2 -

Post by Mariovaisman »

I have developed several csbatch programs to export data, and found that it works different between 7.1.x and 7.2; in 7.1 when execute the export it always creates the corresponding export files in the destination folder, in 7.2 if the previous export files exist in the folder, in case of export to stata, it deletes the old files and creates the new .dat files but no the .dct and .do, if delete the previous data before the new export, all files are created correctely.

Thanks

Mario
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Export data using csbatch program - 2 -

Post by Gregory Martin »

I can't reproduce your problem. In CSPro 7.1, I created a batch program that exports multiple records to multiple files in Stata format. Every time I run the program it recreates all of the files, which is expected based on your description.

Then I ran this program in both CSPro 7.2 and CSPro 7.3, and in both versions, all of my files were recreated each time.

If you want, you send your batch application to us, as perhaps it is specific to your code or how you are running the program.
Post Reply