BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
1 REPLY 1
LinusH
Tourmaline | Level 20
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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

Discussion stats
  • 1 reply
  • 1727 views
  • 0 likes
  • 2 in conversation