BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User

@sanjay1 rather than us going around in circles please post your expected output. 

sanjay1
Obsidian | Level 7

Hi Reeza,

 

My concern is I dont want to get any missing values i.e dots in the variables.(dont want see the missing values I want to delete all the dots).

ballardw
Super User

options missing=" ";

will mean that you do not see a period for missing values if that is what you are attempting. SAS will have a value, missing or not, for every variable for every row.

sanjay1
Obsidian | Level 7

Hi Ballardw,

 

Thanks for the help,, Actually i got by proc transpose.

sanjay1
Obsidian | Level 7

Hi Reeza,

Thanks for your help

Shmuel
Garnet | Level 18

You cannot delete a value of a variable !

 

You can:  ignore missing values and depending on your calculation

you can replace missing value into 0 (zero) or into 1 (one):

      if var = . then var = 0;  /* to add or subtract */

     

 

once again, having input row as:

    f13=2; f14=5; f15=8; f16=9;

what formula you use and what result do you expect ?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 20 replies
  • 6993 views
  • 2 likes
  • 7 in conversation