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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1 reply
  • 768 views
  • 0 likes
  • 1 in conversation