BookmarkSubscribeRSS Feed
macatue
Calcite | Level 5

Hi, Can anyone please help me. I have set options missing = " " to display . numeric values as missing when exported to excel. Using a different SAS session, I am still getting the same result. How do I reset this option and go back to the default so that the display value for missing numeric values is . and not missing. Thank you so much!

3 REPLIES 3
Reeza
Super User

Option missing=.;

macatue
Calcite | Level 5

Thank you Reeza for answering. I tried it but . still shows up as (blank) instead of its original value.

 

data test;
a=.;
b=0;
c=1;
run;

option missing=.;

proc export data = test
outfile = "Desktop\Display Missing.xlsx"
dbms = excel replace;
sheet = "test";
run;

Reeza
Super User

What about 

 

option missing='.';

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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
  • 3 replies
  • 4706 views
  • 0 likes
  • 2 in conversation