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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.