Hi ,
I am new to SAS XML, and trying to read xml file from web url. I am not sure whether i am following the correct process.Could you please help me to understand the step by step process.
Thanks in advance!
Have you tried this approach?
http://support.sas.com/kb/38/053.html
filename test url 'http://support.sas.com/rnd/base/ods/templateFAQ/temp.xml';
libname test xml;
proc copy in=test out=work;
run;
proc print;
run;
@sowmya01 wrote:
Hi ,
I am new to SAS XML, and trying to read xml file from web url. I am not sure whether i am following the correct process.Could you please help me to understand the step by step process.
Thanks in advance!
Hi Reeza,
I tried running the sample code and I have got the below error
ERROR: The connection has timed out..
ERROR: Encountered during XMLMap parsing at or near line 1, column 1.
ERROR: XML describe error: Internal processing error.
The XML file will be placed in SFTP location with encrypted format hence it is not recommended to use FTP(it may corrupt ).When I tried using the below code, SSLPARMS is appearing as red it is not supported for M2 I believe.
proc http
in= "*************testing prochttp****************"
method="POST"
url="***";
sslparms
sslcertiss="Glenn's CA"
sslcertserial="0a1dcfa3000000000015"
;
run;
Please let me know something that capable for M2 version.
I don't think the XML engine can work with streaming data. You will probably need to introduce a step to first copy the XML to a physical file.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.