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

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 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
  • 1031 views
  • 0 likes
  • 3 in conversation