XML: Missing root element definition

Reply
N/A
Posts: 0

XML: Missing root element definition

Hi guys

I use proc metadata to retrieve metadata. Everything works, but when I tried to put it inside the macro it says following:

[pre]NOTE: The file IN is:
File Name=C:\DOCUME~1\DEVSAS~3\LOCALS~1\Temp\out.xml,
RECFM=V,LRECL=256

NOTE: 0 records were written to the file IN.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds

ERROR: Missing root element definition
NOTE: PROCEDURE METADATA used (Total process time):
The SAS System

real time 0.01 seconds
cpu time 0.01 seconds

NOTE: The SAS System stopped processing this step because of errors.[/pre]
Can somebody help me? What does it want from me, it worked until I put it inside the macro? What is 'root element definition'?

Thank you
Esteemed Advisor
Posts: 5,063

Re: XML: Missing root element definition

I think root element is highest level in the XML-file. But the problem isn't probably the XML-file, rather the macro logic of your program. Without a full log/the macro program it's difficult to help you out.

/Linus
Data never sleeps
Post a Question
Discussion Stats
  • 1 reply
  • 744 views
  • 0 likes
  • 2 in conversation