0
votes
2answers
22 views
How do I retrieve information about a LIBNAME?
I know that PROC CONTENTS used to allow you to enter just a LIBNAME (but I think that's been deprecated now) but now works only with a dataset. What's the best way to retrieve inf …
2
votes
1answer
47 views
Do the numbers in the “Run;Submit” Logo mean anything?
Do the numbers in the "Run;Submit" Logo mean anything?
1
vote
1answer
20 views
How do I determine the number of CPU cores the PC has?
How do I determine the number of CPU cores the PC using code? Is there a way to do it in SAS. I want to determine the number of cores and then set how many threads I should run.
2
votes
5answers
40 views
Running source code stored in a Dataset
Hi,
I was wondering whether any of you guys know how to run or extract source code within a dataset to a data step directly.
For example,
If I had a text file that contained sas …
1
vote
1answer
25 views
What is “of” in the following?
I saw the following code fragment in the definition of the ALLCOMB() function in the Language Reference, c.f.: ALLCOMB() definition .
rc=allcomb(j, k, of x[*]);
What is the 'of' …
2
votes
2answers
26 views
How to change the YEAR value of a numeric date variable?
data olddate;
format date ddmmyy10.;
input date ddmmyy10.;
cards;
12/06/1995
;
run;
I want to change the year value (which is 1995) to 1996 without converting the variable to char …
1
vote
3answers
20 views
Using ODS to write to network path
Hi,
I am using ODS to generate some html files see code below
ods html file="&BASE.\index.html"
if &BASE refers to my c: drive e.g. c:\sasreports there is no problem …
0
votes
1answer
16 views
Inserting a dynamic file path within a macro
Hi Everyone,
I am trying to set an import macro with the ability to incorporate the
filename within the infile command. If is use the usual direct input filed
substitution it wo …
2
votes
1answer
30 views
FULLSTIMER - cpu stats for an entire program
I would like to know the system CPU time for an entire program (not just the individual steps).
Is there an easy way to do this?
1
vote
2answers
43 views
Getting the path of the executing SAS file in Enterprise Guide
I read
http://www.runsubmit.com/questions/113/finding-out-the-name-and-path-of-the-program-being-run
but none of the suggested solutions are working for me as I'm executing my SA …
1
vote
2answers
51 views
Excel to SAS error - File is not OLE2
I'm trying to import an excel 2003 file into sas. I keep getting an error message that states "File is not OLE2." What does this mean and how do I get around it?
0
votes
1answer
75 views
Accessing SAS Dataset through ODBC SAS.LocalProvider
Hi All
I'm trying to access a local SAS dataset from VBA in Excel 2007. Using code I found on the interwebs I can get it to return an entire table, but am not able to get it to e …
3
votes
4answers
71 views
How to find the End of Week Date for a given date…?
Hi All,
I want to find what the end of the week date is for each date in order to collapse dates to the week level...
for example: date: 7/27/2010 end_of_week_date: 7/31/2010
t …
0
votes
2answers
38 views
Two-Sample T-Test for Proportions testing two levels of a Class Var
I know that the "Analyst" application generates a bunch of code to do the two-sample T-Test for proportions. I'm trying to do this in plain code (with as little data step manipula …
1
vote
1answer
42 views
Two Factor Factorial Design
Hi All,
Just a quick question. SAS Can Be used t generate treatment combinations, But I have problem because I never analyzed data with factorial design more one treatment contro …