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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 614 views
  • 0 likes
  • 2 in conversation