In reply to Ksharp.

Yes, you could do that. However,
1) Creating a SAS data set and reading the data back is more expensive than using matrices.
2) As I discuss in the last paragraph, my main goal was to demonstrate a demonstrate how to write a module that processes an arbitrary number of arguments.