****************************************************************************************************
* PROGRAM OVERVIEW
****************************************************************************************************
*
* PROGRAM: initialize_macro_variables.sas
* Created (mm/dd/yyyy): 11/30/2020
*
*--------------------------------------------------------------------------------------------------
* PURPOSE: The macro initializes global macro variables
*
* Program inputs:
*
* Program outputs:
*
* PARAMETERS:
*
* Programming Notes:
* -Macro variables read in from CREATEREPORTFILE are set to global in processinputfiles.sas
*
*--------------------------------------------------------------------------------------------------
* CONTACT INFO:
* Sentinel Coordinating Center
* info@sentinelsystem.org
*
***************************************************************************************************;
%macro initialize_macro_variables();
%put =====> MACRO CALLED: initialize_macro_variables ;
/*variables related to DPs*/
%global num_dp random_dplist masked_dplist database;
%let num_dp = 0;
%let masked_dplist =;
%let database = ;
/*variables related to query*/
%global runidlist numrunid typenum;
%let runidlist = ;
%let numrunid = 0;
%let typenum = ;
/*variables assigned to the start and end date of the query - used in all titles*/
%global startdateformatted enddateformatted minqueryyear maxqueryyear;
%let startdateformatted = ;
%let enddateformatted = ;
%let minqueryyear = ;
%let maxqueryyear = ;
/*variables related to createreport input file*/
%global ReportType small_cellcounts customizecolumns stratifybyDP seed groupsfile baselinefile tablefile
figurefile labelfile itsregressionfile treeaggfile appendixfile selectionprobabilitiesfile CodeDescriptionsFile
TableColumnsFile DPInfoFile L2ComparisonFile look_start look_end DateDistributed report_destination collapse_vars;
%let ReportType= ;
%let small_cellcounts = ;
%let customizecolumns =;
%let stratifybyDP = ;
%let seed = ;
%let groupsfile = ;
%let baselinefile = ;
%let tablefile = ;
%let figurefile = ;
%let labelfile = ;
%let itsregressionfile = ;
%let treeaggfile = ;
%let appendixfile = ;
%let selectionprobabilitiesfile = ;
%let CodeDescriptionsFile = ;
%let TableColumnsFile = ;
%let DPInfoFile = ;
%let L2ComparisonFile = ;
%let look_start = 1;
%let look_end = 1;
%let datedistributed = ;
%let report_destination = ;
%let collapse_vars = ;
/*tablefile and figurefile variables*/
%global datasetlist figurelist tablelist tdatasetlist tdatasetlistnum includegroupinfigure;
%let datasetlist = ;
%let tdatasetlist = ;
%let tdatasetlistnum = ;
%let figurelist = ;
%let tablelist = ;
%let includegroupinfigure = ;
/*baseline table variables*/
%global numbaselinetablegrp numprofilecovarstoinclude labcharacteristics;
%let numbaselinetablegrp =0;
%let numprofilecovarstoinclude=0;