PROC CDISC error

Reply
New Contributor
Posts: 3

PROC CDISC error

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.
N/A
Posts: 0

Re: PROC CDISC error

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.
New Contributor
Posts: 3

Re: PROC CDISC error

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.

Ask a Question
Discussion stats
  • 2 replies
  • 962 views
  • 0 likes
  • 2 in conversation