So basically this, but over 30 variables:
replace(FutureCare_1 to FutureCare_30,'Continue with current service stream','48').
replace(FutureCare_1 to FutureCare_30,"Undetermined – recommended care pathway is still being formulated (only select if further initial assessment and/or engagement is required for intake purposes)", "39").
On Tue, 26 Jan 2021 19:18:44 -0800 (PST), Erin Holloway ><erin.psychology@gmail.com> wrote:
So basically this, but over 30 variables:
replace(FutureCare_1 to FutureCare_30,'Continue with current service stream','48').
replace(FutureCare_1 to FutureCare_30,"Undetermined – recommended care pathway is still being formulated (only select if further initial assessment and/or engagement is required for intake purposes)", "39").
The first argument for replace( ) should be a variable, not a list.
DO REPEAT dum1= FutureCare_1 to FutureCare_30.
replace(dum1,'Continue with current service stream','48').
replace(dum1,"Undetermined – recommended care pathway is still being >formulated (only select if further initial assessment and/or
engagement is required for intake purposes)", "39").
END REPEAT.
Or, you could use a LOOP if you first define the Vector.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (3 / 13) |
Uptime: | 50:12:16 |
Calls: | 6,649 |
Calls today: | 1 |
Files: | 12,200 |
Messages: | 5,330,189 |