Macro To check if a variable exists in SAS dataset

    13

    Have you ever needed to know if a given variable exists is SAS data set? Below is a macro which will check for the existence of a variable in a dataset and will return a value of 0 if the variable does not exits and the column number if the variable exists. The macro has […]

    The post Macro To check if a variable exists in SAS dataset appeared first on 9TO5SAS.