BookmarkSubscribeRSS Feed
RichHebel
Fluorite | Level 6

Is there a way to import TRIPLE S files into SAS easily?

(without having to create the xml map  and generating code to read in the data file)

 

I've looked on-line and the only references were to use JMP to do it.

 

 

 

 

3 REPLIES 3
Patrick
Opal | Level 21

If your source data is in XML format then you need to create the map and then you can read it in via XML libname engine. 

Use the XML Mapper to generate the code. http://support.sas.com/downloads/package.htm?pid=713

 

If you don't have an XML with all the possible elements then ideally use an XSD for creating the map.

RichHebel
Fluorite | Level 6

Thanks Patrick, that's what I was a afraid of.  I have no probems generating the map from the xml but the end user isn't as savy, so I was hoping there was a "wizard" type solution that I wasn't aware of, so I don't get sucked down the forever supporting role on this one.  In JMP there is an option in the import menu for these.  So it is possible, 

Tom
Super User Tom
Super User

Since their website seems to be off line, not sure if any one can help you, unless you can post the format defintion.

It does look like STAT/Transfer can convert to/from that format.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1014 views
  • 0 likes
  • 3 in conversation