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