I mapped a schema with SAS mapper and it produced datasets but with 0 rows. What have I done wrong?
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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.