That is the step where you are reading in an unknown number of inputs because you are using the colon wildcard in the list of dataset on the SET statement. So you need to check all of them to see whether any of them have a format attached to the variables you are interested in. When you combine multiple datasets SAS will pick the first non missing format for each variable. So you just cannot check the first dataset because if the variable has no format attached in the first dataset, but does in the second dataset then the result will be to use the format that the variable had in the second dataset.
To remove the formats just add a format statement that lists variable, but has no format specification, to your data step.
format visitdt date9. ssn HtIn WtLb SBP DBP ;
... View more