Hi,
I have typed some text into a textbox in Microsoft Word. Then I think I messed with some text settings and as a result, my text is indented from the second line of each paragraph onward.
Something like this:
----------------------
The text in my textbox
****begins here,
****however as you...
Hi,
Simple question but I don't know what this is called so I haven't been able to find good results from the web.
Does something like this work in a data step?
where 0 < var < 6;
That is to say, is it always equivalent to
where var > 0 and var < 6;
I've tested with a made-up dataset...
Hi,
I have a dataset with a variable called description. A description may contain zero, one or many names matching names in a list called namelist. I'm trying to search description for these names and, when found, create new variables containing them called name1, name2, name3, etc. For the...
Hi all,
I found a macro that appends one dataset to the bottom of another and keeps the greater variable length between the 2 sets of variables:
http://support.sas.com/kb/33/407.html
I'm trying to adapt this macro so that the macro accepts as many input dataset names as I give it and outputs...
As far as I know, the in operator and the colon operator modifier work splendidly before, during and after a datastep. What I mean is that the following three statements all work (albeit slightly differently):
data test2;
set test;
where textnumber in:('1','2');
run;
data test2;
set test...
Hi all,
I have 2 datasets: b is the main dataset, a contains the list of relevant unique personIDs that I want to pull data from b based on. In particular, I'm pulling the minimum date grouped by personID. I also want to restrict the minimum date for class "A" persons only and exclude missing...
Hi,
I'm trying to create a macro that returns the number of months elapsed between two dates. The macro would be called in a datastep pulling in the dates from two variables and returning the months difference into a new variable.
Here is what I have so far:
*************************
%macro...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.