thanks bro .. sorry for the duplicate threads .. unfortunately I can't test your code on my dataset in SAS University Edition as I am getting these error messages: ERROR: The function POKELONG cannot be invoked when SAS is in the lockdown state. ERROR: The function ADDRLONG cannot be invoked when SAS is in the lockdown state. ERROR 251-185: The subroutine POKELONG is unknown, or cannot be accessed. Check your spelling. Either it was not found in the path(s) of executable images, or there was incorrect or missing subroutine descriptor information. ERROR 68-185: The function ADDRLONG is unknown, or cannot be accessed. But i am sure this solution would give the required result ... Thanks again bro !!
... View more