BookmarkSubscribeRSS Feed
AndresVeer
Calcite | Level 5

when I open my sas file in excel then format hex32. is incorrect
in sas file: E7F0DFB3F28A1E7617752FED65B1232F
in excel: EFBFBDEFBFBDDFB3EFBFBD1E7617752F
just all values are changed to something else
any ideas what to check? 

3 REPLIES 3
AndresVeer
Calcite | Level 5

I use the Add-In for MS Office, just browsing in metadata sas file and open it and then in excel this hex32, format column changes,

Kurt_Bremser
Super User

My recommendation would be to convert the data to a character variable containing the formatted hex values, and provide that dataset for opening in Excel.

You have to keep in mind that the COM connection and the AMO transfer raw values, and you might have numeric or character conversions happening during that.

With EG we have also noticed that character variables that contain a 00x are cut off at that point; this is most probably due to the fact that many programming languages consider 00x to be a end-of-string marker.

 

$HEX32. makes me suspect you are working with UUID strings. In that case I'd recommend to convert to the standard 36-character UUID notation before the data transfer.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Discussion stats
  • 3 replies
  • 1144 views
  • 0 likes
  • 2 in conversation