Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi There
I have created around 200+ variables and the have names something like below.
%Region_1 which need to be changed as Region
I am looking for some script function which will help to change/mask the existing variable name.
Thanks in advance,
If you mean Fieldnames, rather than Variable names; You can rename fields with the RENAME statement.
RENAME FIELD %Region_1 TO Region;
Or create a mapping load of all renames and use the statement:
RENAME FIELDS USING mapname;
-Rob
use MAPPING function
See this: Re: Applymap / Mapping function issue
and this: Missing Manual - Map...using