06-09-2015 03:38 PM
I have a sas programme with a data or sql
for a one variable in my data or sql, i want to get :
1- listing for the transformation of my variable
2- excetuting the data step or sql that contains my variable..
if i want to check for one variable name: delta, I want to have some thing likes this :
Step 1 : listing the transfomation
format delat 4.;
Step 2: listing the data or proc sql or that contains delta
Step 3: Executing the data or proc that contains the variable delta
06-09-2015 04:32 PM
Be careful. There are many ways in SAS to get or change the value of a variable without mentioning its name. There are also many ways to access a variable through an alias. Also, some automatic variables get their values changed as side effects.
And that's only for plain SAS language. Add macro processing over that and the prospect of reverse engineering SAS code becomes elusive.