Export data using csbatch program - 2 -

Discussions about CSEntry
Posts: 92
Joined: February 11th, 2013, 8:26 am

Export data using csbatch program - 2 -

Postby Mariovaisman » July 31st, 2019, 12:20 pm

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.



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

Re: Export data using csbatch program - 2 -

Postby Gregory Martin » August 13th, 2019, 11:19 am

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.

Return to “Entry”