BookmarkSubscribeRSS Feed
NMcD
Calcite | Level 5

Hi

I am trying to generate xml using xmlmap on the mainframe.

I generated an xmlmap version 1.9 and using SAS version 9.2.

I can read in the xml without problem using

filename map 'userid.xmlmap';

filename xml_in 'userid.xml';

libname xml_in xml92 xmlmap=map;

proc print displays that the data is there.

I then need to write this data back out as xml using the xmlmap,

I am using the following

filename out 'userid.tempxml';

filename map 'userid.xmlmap';

libname out xml92 xmltype=xmlmap xmlmap=map

data out.xmldata;

set xmldata;

run;

then I get the following from the log and nothing written out

NOTE: Processing XMLMap version 1.9.

NOTE: Libref OUT was successfully assigned as follows:

Engine: XML92

Physical Name: USERID.TEMPXML

.

.

ERROR: Relative COLUMN PATH prevents output reconstruction.

ERROR: Internal processing error. Unable to construct DOM

ERROR: ODS Initialization failed.

Any advice would be really appreciated

Thanks

Niall

2 REPLIES 2
Cynthia_sas
SAS Super FREQ

Hi:

   The 9.2 documentation contains this example:

http://support.sas.com/documentation/cdl/en/engxml/62845/HTML/default/viewer.htm#a002594362.htm

  I think, given your error messages, especially the "Unable to construct DOM" message that you might need to work with Tech Support on this. (Also, depending on your maintenance release of 9.2, I think that some features of the XML Libname engine were still pre-production -- such as 9.2 M0 versus 9.2 M3).

  To send a question to Tech Support, go to http://support.sas.com/ and in the left-hand navigation pane, click on the link entitled "Submit a Problem". Alternately, you can go directly to the Tech Support Problem Form here:

http://support.sas.com/ctx/supportform/createForm

cynthia

NMcD
Calcite | Level 5

Thanks - I will follow up with support.

Niall

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