If you already run this from the commandline (batch mode), I'd suggest to handle the input in a shell script (with the read command) and supply the values to the SAS program via environment variables or the -sysparm commandline option (SAS(R) 9.2 Macro Language: Reference). Base SAS is not really good at being interactive.
... View more