Hello, I know that write "call execute" to work with two programs sas (for example) is no the useful way but, i'd like to work using it for this... I've the following (example) situation: Data test1; Input name $ sector $; Datalines; John Sales Bryan Comercial Tedd Sales ; Run; Data test2; Set test1; Call execute ( ‘ %let var1 = “something1”; %let var2 = “something2”; %let var3 = “something3”; (in this 3 vars, I work with fixed values.... but I need (and you'll see below, work with var1, var2 ou 3.... receive a value stored in a variable (colunm) for example... Sector colunm..) %let var4 = "%include and type the way where another program .sas was save”; Run; In this case my program is running without problems but, I need this program receive the value of some variable (column) and pass this value within the command. The idea would be something like this.... Data test2; Set test1; Receive here the value, for example -> new_var = variable (column) sector Call execute ( ‘ %let var1 = new_var (that I create above...) %let var2 = “something2”; %let var3 = “something3”; %let var4 = "%include and type the way where another program .sas was save”; Run; Please, can you help me with this? Thanks!
... View more