BookmarkSubscribeRSS Feed
aj34321
Quartz | Level 8

D/All,

 

I got my EG upgraded from 4.1 to 7.1 and presently I'm facing a weird issue with the proc export. The issue is -

 

I have a dataset with all variables as Character type. (Even the numeric variables are in character format - Thats the requirement and I cannot change it back to number format). Some of the variable observations are NULL. Now when this dataset is exported into CSV format thru SAS EG 4.1 everything is good. The NULL values appear as NULL in CSV file but when exported with SAS EG 7.1 these NULL values are replaced with a period symbol ( . )

 

I tried using options missing = ''; but that only works on number variable. What do I write so that these Character variable appears NULL in CSV.

 

Experts, request your advice.

 

Rgds,

AK

1 REPLY 1
ChrisHemedinger
Community Manager
You mention PROC EXPORT, but are you really using PROC EXPORT code or are you simply using the Export task/menu from within SAS Enterprise Guide?

If using code, you have some options to control the output. If using the built-in menus (which don't generate PROC EXPORT), you might try a different technique -- such as Send To->Microsoft Excel from the data grid view.

Chris
Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1857 views
  • 0 likes
  • 2 in conversation