Page 1 of 1

Export data using csbatch program - 2 -

Posted: July 31st, 2019, 12:20 pm
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

Re: Export data using csbatch program - 2 -

Posted: August 13th, 2019, 11:19 am
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.