OSR saving results

HI I want to preform a simple loop where I find the optimal Taylor rule weight on inflation phipi for a range of incremental increases to the output weight phiy. I intend to use @#for and @#endfor. However I can not find the optimal phipi from the osr in the workspace (only the command window) to save each iteration (or just one iteration) of the loop
See below,
Thanks
%%%%%%%%%%
optim_weights;
pi 1;
y 0.5;
end;
phiy=0
osr_params phipi;
phipi=1.5;
osr (nograph)
%%%%%%%%
See below,
Thanks
%%%%%%%%%%
optim_weights;
pi 1;
y 0.5;
end;
phiy=0
osr_params phipi;
phipi=1.5;
osr (nograph)
%%%%%%%%