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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

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