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 ?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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