 PROC EXPORT DATA=TEMP1Y 
             OUTFILE="C:\AHRQQI\PDI\GEE_&PD..csv" 
             DBMS=csv REPLACE;
 RUN; 
 
 %MACRO PRED;

 %IF &N. = 1 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD01.def';

 RUN;

 %END;

 %IF &N. = 2 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD02.def';

 RUN;

 %END;

 %IF &N. = 5 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD05.def';

 RUN;

 %END;

 %IF &N. = 6 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD06.def';

 RUN;

 %END;

 %IF &N. = 8 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD08.def';

 RUN;

 %END;

 %IF &N. = 9 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD09.def';

 RUN;

 %END;

 %IF &N. = 10 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD10.def';

 RUN;

 %END;

 %IF &N. = 11 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD11.def';

 RUN;

 %END;

 %IF &N. = 12 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PPD12.def';

 RUN;

 %END;

 %IF &N. = 70 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PNQ01.def';

 RUN;

 %END;

 %IF &N. = 71 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PNQ02.def';

 RUN;

 %END;

 %IF &N. = 72 %THEN %DO;

 DATA _NULL_;

 X 'C:\AHRQQI\AHRQPrediction\AHRQPrediction.exe C:\AHRQQI\PDI\Prediction_PNQ03.def';

 RUN;

 %END;

 %MEND PRED;

 %PRED;
 
 PROC IMPORT DATAFILE="C:\AHRQQI\PDI\GEE_&PD._gee_&PD._RegressionAnalysisGee_IndividualPredictions.csv" 
             OUT=TEMP1I
             DBMS=csv REPLACE; 
 RUN; 

