Hi,
I have multiple files and each has a different name for the first variable that needs to be renamed. How does one rename a variable based on its position in the dataset? (If I can do this, I can loop over the files.) The variable cannot be uniquely identified by it's type or value or format so I cannot use -ds-. I also tried -findname- but wasn't able to find a fix. Should I be looking at the -char- option more carefully? Or is there another way to solve this problem?
Thank you.
I have multiple files and each has a different name for the first variable that needs to be renamed. How does one rename a variable based on its position in the dataset? (If I can do this, I can loop over the files.) The variable cannot be uniquely identified by it's type or value or format so I cannot use -ds-. I also tried -findname- but wasn't able to find a fix. Should I be looking at the -char- option more carefully? Or is there another way to solve this problem?
Thank you.
Comment