BookmarkSubscribeRSS Feed
hoatuoi9x
Calcite | Level 5

Hi everyone !

The Health Data app on iphone Xs (iOS14.2) can export its data into compressed XML files. The files are called export.zip, export.xml, and export_cda.xml. I used SAS XML Mapper and complained that the data was too big (45meg).

How do I import this data into SAS?

Thanks you so much !

2 REPLIES 2
Ksharp
Super User
1) write some data step code by yourself.

2) try xmlv2 engine.


filename tmp temp;
libname x xmlv2 'c:\temp\temp.xml' xmlmap=tmp automap=replace;
proc copy in=x out=work;
run;
Oligolas
Barite | Level 11

Hi,

I think there must be a lot of similar/repetitive data in your XML. For every day/activity?

You may be able to analyze and reduce the source data to feed the XML mapper, see #3 

________________________

- Cheers -

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