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
SAS Super FREQ

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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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