Variable within wfsave statement
Posted: Tue Jun 24, 2014 11:00 am
Hi all,
I am trying to use a for loop to execute hundreds of file statements. The code is as follows:
for %y atl aus bal bos
wfsave G:\Research2\MAIN\Rent_Growth_Process\Retail_Rent_Growth_Process\Retail_Inputs\%y_inputs_rg.csv @keep %y_inputs_rg
wfsave G:\Research2\MAIN\Rent_Growth_Process\Retail_Rent_Growth_Process\Retail_Inputs\%y_inputs_demand.csv @keep %y_inputs_demand
next
This is only a sample size of four. With this statement, the %y for atl would turn into "atl" within the file statement. How can I solve this? thank you all in advance
I am trying to use a for loop to execute hundreds of file statements. The code is as follows:
for %y atl aus bal bos
wfsave G:\Research2\MAIN\Rent_Growth_Process\Retail_Rent_Growth_Process\Retail_Inputs\%y_inputs_rg.csv @keep %y_inputs_rg
wfsave G:\Research2\MAIN\Rent_Growth_Process\Retail_Rent_Growth_Process\Retail_Inputs\%y_inputs_demand.csv @keep %y_inputs_demand
next
This is only a sample size of four. With this statement, the %y for atl would turn into "atl" within the file statement. How can I solve this? thank you all in advance