I'm trying to copy some series from one wf to another, renaming each series as I do so. Here's my code:
Code: Select all
for %s %scen h high m medium l low
for %school school1 school2 school3 school4 school5 school6
wfuse {%school}\{%scen}
copy(overwrite) {%school}::{%scen}\g6_{%s} elemtotal::{%scen}\g6_{%s}_{%school}
save elemtotal
close {%school}
next
genr g6_{%s}=g6_{%s}_school1+g6_{%s}_school2+g6_{%s}_school3+g6_{%s}_school4+g6_{%s}_school5+g6_{%s}_school6
nextThoughts?
Thanks,
BL
