BookmarkSubscribeRSS Feed
codyo
Calcite | Level 5
I am new to the CDISC procedure, and have been able to read in some .xml files that i am working with. However, I have encountered an error that i can't seem to get past. Has anyone seen this error before? How would you suggest i solve the problem? Any ideas?

Thanks a lot!
-codyo

(SAS version 9.2; ODM XML 1.2)

proc cdisc model=odm read=stesta formatactive=yes formatnoreplace=no;
odm version="1.2" odmminimumkeyset=yes ordernumber=no longnames=YES;
clinicaldata out=WORK.ELIG name="F_ELIG" ;
run;

ERROR: Invalid sequence of commands for file WORK.ELIG.DATA.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.ELIG was only partially opened and will not be saved.
2 REPLIES 2
deleted_user
Not applicable
I think this error is due to non-conformity in sequential order of TAGS in XML document. Please check your XML document. For example if tag occurs twice to then you will encounter such error.
codyo
Calcite | Level 5

It turned out that the XML document had some tags that SAS did not process well. We have multiple centers entering data, and the XML tags for centers were causing the problem. One way to fix the problem was to delete those tags in the XML document. Another is to use XML extract from single centers.

Hope this update helps someone somewhere, even though it took 3 years to reply.

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!

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