@DLehwidi wrote: I have about million customers in the list, a client requested a name search, so it can be any name in the world , Hunter and Peter was just for the sake of concept
I just tried to point you in the right direction, with less success than expected, it seems. The variable resident_customer will always contain the first name entered, only.
If more than one name is entered, "hunter" and "peter" in your example, sas will create additional macro-variables, one for each value entered. If the client needs to be able to provide multiple names with each execution of the program, you have to process the variables created by the prompting-framework. I will try to post some useful code later.
... View more