DATA Step, Macro, Functions and more

Schema mapped with SAS Mapper produced datasets but 0 records in all datasets

Reply
New Contributor
Posts: 3

Schema mapped with SAS Mapper produced datasets but 0 records in all datasets

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

SAS Super FREQ
Posts: 8,869

Re: Schema mapped with SAS Mapper produced datasets but 0 records in all datasets

Posted in reply to cdavis4468

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

Ask a Question
Discussion stats
  • 1 reply
  • 114 views
  • 0 likes
  • 2 in conversation