BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am new to the Proc CDISC procedure and find problems in read xml file.
I download the Example files from: http://support.sas.com/rnd/base/xmlengine/proccdisc/index.html

But it occurred error as:

NOTE: SCL source line.
103 language="en"
--------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, FORMATACTIVE, FORMATLIBRARY, FORMATNOREPLACE, INREF, MODEL, OUTREF, READ, WRITE.
ERROR 76-322: Syntax error, statement will be ignored.


Could you please suggest how to solve the problem?
Any comment is appreciated. Thank you.

------------------------------------------------------------------------------------------------
libname results 'C:\test' ;

FILENAME XMLINP 'C:\test\ae.xml';

PROC CDISC MODEL=ODM
READ=XMLINP

formatActive=YES
formatNoReplace=NO
language="en"
;
ODM ODMVersion = "1.2"
ODMminimumKeyset=NO
;

CLINICALDATA OUT = results.AE
SASDATASETNAME = "AE"
;
RUN;
FILENAME XMLINP ;


proc contents data=results.AE varnum; run;
proc print data=results.AE; run; Message was edited by: ChengWC
1 REPLY 1
deleted_user
Not applicable
Hi,
language="en" is not the option to be used with proc cdisc. So delete language="en" and run the code. Hope it works..

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 16. 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
  • 819 views
  • 0 likes
  • 1 in conversation