63 Answered Questions for the topic SAS

Sas

03/18/19

Would overwriting the existing SAS dataset take more time?

I got a short question - If we are creating a SAS dataset say - Sample.sas7bdat which already exists, will the code take more time to execute (because here the code has to overwrite the existing... more
Sas

03/18/19

Is there a way to detect when you've reached the last observation in a SAS DATA step?

Is there a way to check how many observations are in a SAS data set at runtime OR to detect when you've reached the last observation in a DATA step? I can't seem to find anything on the web for... more
Sas

03/18/19

converting format (from date to numeric) using SAS?

I am working with a dataset in SAS, containing many variables. One of these variables is a DATE variable and it has a date/time format. It looks like this: 12FEB97:00:00:00 27MAR97:00:00:00 ... more
Sas Base Quotes

03/18/19

What's your best trick to break out of an unbalanced quote condition in BASE SAS?

As a base SAS programmer, you know the drill: You submit your SAS code, which contains an unbalanced quote, so now you've got not only and unclosed quote, but also unclosed comments, macro... more

03/15/19

How to count the number of observations in a SAS table?

I am very new to SAS. Now, I have a SAS data table as following: ID score ------------------- 01 1 02 3 03 4 04 2 Is there any way to save the number of observations in this table **using... more
Sas Csv

03/15/19

Efficiently convert a SAS dataset into a CSV?

Can anyone tell me what is the fastest way to programmatically convert a SAS dataset into a CSV file. I know I can use a data step and output to a file etc. But is that the only way? Thanks, Adnan.
Sas Etl

03/14/19

Replace missing values in SAS?

How do you replace all missing values with zeroes in SAS? I have a text file that I dump into SAS to process some geo data, but whenever it has a missing value it breaks the operations. Is there a... more
Sas

03/14/19

concat two numbers in sas proc sql?

I have a table that has two numeric values called `year` and `month`. I would like to create a new table that has one value called `ym` which is just the concatenation of `year` and `month`. Here... more
Sas Sas Macro

03/14/19

Why won't my macro variable resolve?

I have a macro variable, `&myvar`, but it won't resolve when I try to put it in a data step variable. Why won't it, and what can I do to fix this? %let myvar=Hello, world; data _null_; ... more

07/21/15

Geometry Question on Triangles

Based on the given information, can you conclude that ?QRS≅?TUV ? Explain.Given: (QR) ≅(TU) ,(QS) ≅(TV) and <R = <U, prove ?QRS≅?TUV       Please show me how I should go about doing this!... more

01/22/14

How can we use AA, SSS, and SAS to prove that triangles are similar?

How can we use AA, SSS, and SAS to prove that triangles are similar?

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.