Hello all,
Does anyone know the correct format for using SYSPARM on a Unix platform? I'm executing a SAS program from a Korn shell script. I want to pass a run indicator
("TEST" or "PROD"), and a process date. Below is an example of what I think is the correct use of sysparm:
# +------------------------------------------------+
# * Execute SAS Program *
# +------------------------------------------------+
echo
echo "Executing address_list.sas ..."
sas -sysparm TEST,2006-10-01 address_list.sas
export return_code="$?"
if ([ "$return_code" -gt 4 ]); then
echo "address_list.sas failed."
exit
fi
Can anyone tell if the above example is a proper use of SYSPARM? If not, can you post s few examples?
Many thanks,
Mark
Does anyone know the correct format for using SYSPARM on a Unix platform? I'm executing a SAS program from a Korn shell script. I want to pass a run indicator
("TEST" or "PROD"), and a process date. Below is an example of what I think is the correct use of sysparm:
# +------------------------------------------------+
# * Execute SAS Program *
# +------------------------------------------------+
echo
echo "Executing address_list.sas ..."
sas -sysparm TEST,2006-10-01 address_list.sas
export return_code="$?"
if ([ "$return_code" -gt 4 ]); then
echo "address_list.sas failed."
exit
fi
Can anyone tell if the above example is a proper use of SYSPARM? If not, can you post s few examples?
Many thanks,
Mark