So, effectively what I posted above then...
Anyways, if the code is passed through, that means all the code gets picked up and passed to the database, therefore it has to conform to syntax understood by the database, using functions that the database understands. the '..'x is a SAS specific syntax, so the database probably wont understand it. If you want to see in action, write the code directly in the database, you will see the problems.
Oh, and please avoid coding all in uppercase, and use the code window, its the {i} above post area, so we can clearly read your code.
... View more