Discussions about editing and cleaning data
Yass
Posts: 103 Joined: November 11th, 2017, 1:26 am
Post
by Yass » September 16th, 2018, 2:10 pm
Dear Cspro Great Team,
Please I have an export routine (regular export of 4 different files to generate report) that i created a small entry file with a function to excepff for all the batch file run one after the other. I did edited the .pff file of each batch application on exit it should return to Menu. I did reenter after calling the function and it does not work too.
Please how to disable the running of the batch on my screen.
I tried this ...
Code: Select all
function tbc5()
string pathbc5 = "../App/*.pff";
if execpff(pathbc5,stop) = notappl then
errmsg("Data failed to be Exported");
endif;
end;
Gregory Martin
Posts: 1801 Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC
Post
by Gregory Martin » September 17th, 2018, 10:07 am
I don't think I understand the problem. In general, if you wanted to run four PFFs, you could do something like this:
execpff ("pff_name1.pff" , wait);
execpff ("pff_name2.pff" , wait);
execpff ("pff_name3.pff" , wait);
execpff ("pff_name4.pff" , wait);
Afterwards you could reenter whatever part of the menu you're interested in.
You could post your app if you want us to see why it doesn't work.
Yass
Posts: 103 Joined: November 11th, 2017, 1:26 am
Post
by Yass » September 18th, 2018, 5:03 am
Thanks Greg !!!
Enkhbayar
Posts: 68 Joined: November 10th, 2014, 11:48 pm
Post
by Enkhbayar » September 18th, 2018, 9:34 am
Or you can create an MSDOS batch application as below
RUN_BATCH.bat
========================================================================
start H:\SAS_APP\Center_Office_app\DownloadData-PLOTQUESTIONNAIRE_8ICT.pff
TIMEOUT 180
start H:\SAS_APP\Center_Office_app\plot_correction\plot_correction.pff
TIMEOUT 180
start H:\SAS_APP\Center_Office_app\export\plot\Plot.exf.pff
TIMEOUT 180
========================================================================