Does anyone put parameters into the call of a BATCH file.
This is for SPlus 6.2. We need a solution for Unix but anything that
works on a PC and has even a chance of being adapted would be a help.
I've contacted Insightful and they suggested setting environmental
variables before calling the BATCH and then reading the environment
from within the BATCH file.
There are some concerns with that. Do you know of any other method?
A simple example might be a BATCH file that calculates (or maps) a
state's population and needs the name of a the particular state we want
to work on this run.
This doesn't work, but something like this is what's wanted.
splus BATCH findStatePopulation.q state='MAINE'
|