**************************************************************************************************** * 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; %let runidlist = ; %let numrunid = 0; /*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 redactevents redactPT stratifybyDP seed groupsfile baselinefile tablefile figurefile labelfile itsregressionfile treeaggfile appendixfile selectionprobabilitiesfile CodeDescriptionsFile TableColumnsFile DPInfoFile L2ComparisonFile look_start look_end DateDistributed report_destination; %let ReportType= ; %let small_cellcounts = ; %let redactevents =0; %let redactPT =0; %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 = ; /*tablefile and figurefile variables*/ %global datasetlist figurelist; %let datasetlist = ; %let figurelist = ; /*baseline table variables*/ %global numbaselinetablegrp; %let numbaselinetablegrp =0; /*L2 report variables*/ %global numl2comparisons; %let numl2comparisons = 0; /*label file variables */ %global label_length; %let label_length = 250; /*Output counter variables*/ %global tableletter tablecount; %put =====> MACRO ENDED: initialize_macro_variables ; %mend initialize_macro_variables;