BookmarkSubscribeRSS Feed
cdavis4468
Calcite | Level 5

I mapped a schema with SAS mapper and it produced datasets but with 0 rows.  What have I done wrong?

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi, I'd recommend that you work with Tech Support. Are you sure the schema matched the XML file that you were reading in? The schema doesn't have data, it only has the structure. The XML Mapper builds the dataset from the actual data that matches the schema. If  the schema is out of sync with the XML file, then I thought you'd get errors when you used the map file. To help you, someone's going to have to look at the schema, look at the .map file, look at the .xml file and look at the code you used to read the xml file into SAS using the map that you created from the schema. This sounds like the type of thing that Tech Support would be good at. There are a lot of related files to deal with and to help you debug, someone has to see all of them -and- find out your version of SAS, in addition.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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