Medpace Interview Question

How do you define a macro variable? What procedure you would use to remove duplicate records?