I want to create a new F key(shortcut key)using F12 or AltF12 to do the following:
copy a line, move selected line to the end of the line, and paste.
This will save me time so that I do not have to highlight the line, click on copy, go to next line, click on paste.
Once the line is pasted...
Thank you. I solved my problem.
proc sql;
create table Test1 as
select *,
case when confidentiality is null then Firstname
else "."
end as fname
from TEST
;
quit;
I want to blank out only some fields from a record, but do not know how. I tried case statements and if statements but am running into a wall. I would appreciate your help.
For those records with a confidentiality code=X, I want to blank out the names, but want to leave the other fields...
Hi,
I created a table to rank the TOP 10 var1.
Now I want to create a new primary variable for the Top 10 var1. Ideally I want to use the same numbering as seen in the SAS view table. Can you help?
Thank you for your time.
DonaZ
Chris,
I am not understanding this. My file is the libaries/work/imported.
How do I use this code?
proc sql;
create table cols as
select name
,type
,length
from dictionary.columns
where memname='WORK'
and libname='OLD'
;
quit;
Thank you for your time.
Hi
Sometimes the variables that I import from Excel are character format and should be numeric format.
Rather than run
PROC CONTENTS DATA=test1
Each time
I used the following:
If year=2000 then do;
if var1=’’ then var1=’.’
Var1_num=input (var1,4.);
Drop var1;
Rename var1_num=var1;
Label...
I'm sorry, my query is not working. What am I doing wrong?
I meant to say that the field is currently a numeric that needs to be converted to a text. The field needs to accommodate the leading zeros.
I renewed my current SAS 9.1.3 standalone; however, I noticed now Service Pack 4 is available and another disk---DISK 5. What did you do with the Service Pack 4? Should I install DISK 5? Suggestions?
Please see list below. Has anyone used the Optional items on this list? If so, which...
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.