****************************************************************************************************
****************************************************************************************************
* PROGRAM: figure_t5_output.sas
* Created (mm/dd/yyyy): 09/08/2021
*--------------------------------------------------------------------------------------------------
* PURPOSE: Produce type 5 figures F1-F3
* -figurenum: figure number
* -where: where clause to restrict figure123.sas7bdat
*--------------------------------------------------------------------------------------------------
* Sentinel Coordinating Center
* info@sentinelsystem.org
***************************************************************************************************;
%macro figure_t5_output(figurenum=, title=, where=);
%put =====> MACRO CALLED: figure_t5_output;
/*Save dataset to REPORTDATA folder*/
%isdata(dataset=repdata.figure&tablenum.);
%if %eval(&nobs.<1) %then %do;
data repdata.figure&tablenum.;
set figure123(where=(&where.));
%put =====> END MACRO: figure_t5_output;