Add the HTML variable to SITES and create the NEWSITES data set. The HTML variable REGIONDRILL contains the targets for the values of the variable REGION.
data newsites;
   length regiondrill $40;
   set sites;
   if region=1 then
      regiondrill='HREF="hazsite_statebody.html#Region1"';
   if region=2 then
      regiondrill='HREF="hazsite_statebody.html#Region2"';
   if region=3 then
      regiondrill='HREF="hazsite_statebody.html#Region3"';
   if region=4 then
      regiondrill='HREF="hazsite_statebody.html#Region4"';
   if region=5 then
      regiondrill='HREF="hazsite_statebody.html#Region5"';
run;