Calling Multiple batch pff

Discussions about editing and cleaning data
Forum rules
New release: CSPro 8.0
Post Reply
Yass
Posts: 103
Joined: November 11th, 2017, 1:26 am

Calling Multiple batch pff

Post by Yass »

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: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Calling Multiple batch pff

Post by Gregory Martin »

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

Re: Calling Multiple batch pff

Post by Yass »

Thanks Greg !!! :) :)
Enkhbayar
Posts: 68
Joined: November 10th, 2014, 11:48 pm

Re: Calling Multiple batch pff

Post by Enkhbayar »

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
========================================================================
Post Reply