Is there a way to run a one-liner in sas, or do I have to create a file? I'm looking for something like the -e flag in perl.
My favourite is using the -stdio option
Either:
sas -stdio
Then start typing. Or ...
echo "proc options; run;" | sas -stdio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With