I have a column in my sas file as age and another column as finalage. I want to substitute the values in age column by values in agefinal column for just one ID (that is 5)
I am using SAS\'s FILE statement to output a text file having fixed format (RECFM=F). I would like each row to end in a end-of-line control character(s) such as linefeed/carriage return. I tried the
I need to pick the latest week file from a folder, but I don\'t want to enter the week every time. It\'s a weekly report which I want to make as easy as pressing F3 and having it run.
Executing locally in a clean sess开发者_如何学Goion: %let x = %str(put(age, best.)); proc sql; select &x from sashelp.class;
This is a newbie SAS question. I have a dataset with nu开发者_如何学JAVAmerical variables v1-v120, V and a categorical variable Z(with say three possible values). For each possible value of Z, I would
I have a SAS dataset with more than 1300 variables in it. There are about 200-300 variables that have no observations at all. Is there any way to get a list o开发者_运维百科f these variables that have
Am looking for some (efficient) code to determine the size of a di开发者_开发技巧rectory / folder in Windows XP using SAS 9.1.3.If you are not constrained by the SAS NOXCMD option (such as SAS Enterpr
Suppose I allow user to write his own variable calculation macro using a common user interface: %macro calculate(var_name, var_value);
I\'d like to apply a label to nulls in a character variable. I can do this quite fine with numeric variables, but am unsuccessful with character vars. I\'d like to apply the label \'Both Groups\' to
I found from one of my proc logistic report that a certain variable is highly correlated with the intercept. How can I interpret it? What should I change to amend this correlation?