parse sas file for macro links