<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc sql query to extract value out of xml data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171686#M44282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2014 08:19:45 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-07-14T08:19:45Z</dc:date>
    <item>
      <title>proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171681#M44277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table (which is on a db2 database) with several columns. One of the column is actually xml data type. I need to extract some value out of this xml data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use proc sql to accomplish this job. However after I google online, it seems there is no such proc sql query for xml data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: how to extract value from xml data? is proc sql capable of this? or is there any other tool in sas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 20:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171681#M44277</guid>
      <dc:creator>abcd123</dc:creator>
      <dc:date>2014-04-07T20:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171682#M44278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SQL pass through directly to use native&amp;nbsp; DB2 SQL commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.apdv.embed.doc%2Fdoc%2Fc0023366.htm" title="http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.apdv.embed.doc%2Fdoc%2Fc0023366.htm"&gt;DB2 Database for Linux, UNIX, and Windows&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 20:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171682#M44278</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-04-07T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171683#M44279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never used pass through facility. I just googled on line and try to make pass through work, but couldn't (most likely my pass through grammar is not right). The following is a workable proc sql statement. Could you please help me to write a pass through version of this statement? Thank you very much again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;libname DB2_SALES&amp;nbsp; db2 datasrc = vagerdb2 user = 'hxf' password = "A2b56" schema='SALES_INFO';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;create table test as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;select * from DB2_SALES.north_region;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 22:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171683#M44279</guid>
      <dc:creator>abcd123</dc:creator>
      <dc:date>2014-04-07T22:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171684#M44280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I have figured outthe correct format of pass through for db2 server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 23:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171684#M44280</guid>
      <dc:creator>abcd123</dc:creator>
      <dc:date>2014-04-07T23:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171685#M44281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing similar problem, Can you tell me what were the steps taken to achieve.&lt;/P&gt;&lt;P&gt;Please explain what eact term signify marked in bold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;libname &lt;SPAN style="text-decoration: underline;"&gt; &lt;STRONG&gt;db2 datasrc&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;vagerdb2&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; user = 'hxf' password = "A2b56" schema='SALES_INFO';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 07:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171685#M44281</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-14T07:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171686#M44282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001355231.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 08:19:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171686#M44282</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-14T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171687#M44283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not get it.&amp;nbsp; a/ A database is a way to represent a relational table.&amp;nbsp;&amp;nbsp; b/ An XML file is a way to represent a relational table.&lt;/P&gt;&lt;P&gt;Is the question how to access a table that is stored in a table? That is not a normal approach for table access. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 09:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171687#M44283</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-14T09:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171688#M44284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My PROC SQL is working fine for other columns but while trying to fetch column containing XML data, getting following error.&lt;/P&gt;&lt;P&gt;SQL is executing in Z/OS environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DB2 ERROR:&lt;/P&gt;&lt;P&gt;RESULT OF SQL STATEMENT:&lt;/P&gt;&lt;P&gt;DSN00804E AN ERROR WAS FOUND IN THE APPLICATION PROGRAM INPUT PARAMETERS FOR THE SQL STATEMENT, REASON 16&lt;/P&gt;&lt;P&gt;A DUMP OF THE SQLCA FOR THE GET DIAGNOSTICS REQUEST FOLLOWS:&lt;/P&gt;&lt;P&gt;ROW NUMBER: 0 ERROR CONDITION: 1 REASON CODE: 16&lt;/P&gt;&lt;P&gt;SQLCODE: -804 SQLSTATE: 07002 SQLERRP: DSNXROHB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL query is as follows :&lt;/P&gt;&lt;P&gt;PROC SQL NOPRINT;&lt;/P&gt;&lt;P&gt;CONNECT TO DB2 (SSID=DB0T);&lt;/P&gt;&lt;P&gt;CREATE TABLE FBLM&amp;nbsp; AS&lt;/P&gt;&lt;P&gt;SELECT * FROM CONNECTION TO DB2(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;CREDIT_ASSESSMENT_SUBMISSION&amp;nbsp; as CAS&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; SYSTEMF.CREDIT_CASE&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; CREDIT_CASE_ID = '001234bc-4e38-4dee-ad5d-b0e2d91457e8' );&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can one guide me that why there is an issue and how it can be resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 09:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171688#M44284</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-14T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171689#M44285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I thought exactly that also, then I read the following: &lt;A href="http://en.wikipedia.org/wiki/PureXML"&gt;http://en.wikipedia.org/wiki/PureXML&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Apparently mixing/matching is now the in thing. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 09:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171689#M44285</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-14T09:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171690#M44286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RW9 When I read that&amp;nbsp; wikipedia link then I am interpreting that the DB2 calls have been enhanced to use classic DB/2 RDBMS as storage type and XML as storage type. Both accessible from the SQL DB/2 interface.&lt;BR /&gt;The same as SAS&amp;nbsp; can read XML files,&amp;nbsp; libname xml using mapper when needed, and&amp;nbsp; classic datasets. It is also mentioning sometimes people have stored the XML as string field into classic DB/2 storage.&lt;BR /&gt;What is the case with &lt;A _jive_internal="true" data-avatarid="-1" data-externalid="" data-online="false" data-presence="null" data-userid="812592" data-username="abcd123" href="https://communities.sas.com/people/abcd123"&gt;abcd123&lt;/A&gt;?&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171690#M44286</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-14T10:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171691#M44287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NitinDwivedi, you are hijacking an other op-s question. Working with Db/2 youa are in the IBM world (z/OS).&lt;BR /&gt;IBM has one of the best documentation on errors and all kind of stuff. However the accessibility is not optimal sometimes needing to understand how all is working.&lt;BR /&gt;This is the reference for DB/2 at ibm.com &lt;A href="http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n804.dita" title="http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n804.dita"&gt;IBM Knowledge Center&lt;/A&gt; ( DB2 for z/OS 10.0.0&amp;gt;Troubleshooting for DB2&amp;gt;DB2 codes&amp;gt;SQL codes&amp;gt;SQL error codes)&lt;BR /&gt;It is complaing about a SQl construct. you can try to analyze with sastrace.&lt;BR /&gt;Are you aware of : &lt;/P&gt;&lt;P&gt;- doing a SQL explicit pass through for getting the data. But a the create table is outside that block the creation is done at the SAS environment ?&lt;/P&gt;&lt;P&gt;- With the select * your are asking to convert all data from db/2 to SAS even when datatypes are incompatible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171691#M44287</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-14T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171692#M44288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To pay attention for is datatypes DB/2 to SAS see: &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/66787/HTML/default/viewer.htm#p0o54jcy958qywn14c8lvt39pgjt.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/66787/HTML/default/viewer.htm#p0o54jcy958qywn14c8lvt39pgjt.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Third Edition&lt;/A&gt; .&amp;nbsp;&amp;nbsp; does not&amp;nbsp; support BLOB, CLOB, DBCLOB, ROWID, and some kinds of distinct DB2&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171692#M44288</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-14T10:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171693#M44289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap,&amp;nbsp; Thanks. Yes, the issue is data incompablity&amp;nbsp; and I am not sure how can I fix this issue. Right now , not aware about SQL explicit pass through for getting the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171693#M44289</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-14T10:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171694#M44290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternate method to get the data is to let the DB admin unload the data into a structured flat file and read the data from there with a data step with formatted column input.&lt;/P&gt;&lt;P&gt;This is what we do around here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:06:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171694#M44290</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-07-14T11:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171695#M44291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kurt, It is needed for online execution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171695#M44291</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-14T11:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171696#M44292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe your DB admin can convert the offending fields to suitable strings, which you then parse in SAS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171696#M44292</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-07-14T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171697#M44293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kurt's proposal is one that will work. See the Clob/Lob definition by IBM. &lt;A href="http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.intro/src/tpc/db2z_largeobjectdatatypes.dita?lang=en" title="http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.intro/src/tpc/db2z_largeobjectdatatypes.dita?lang=en"&gt;IBM Knowledge Center&lt;/A&gt;&amp;nbsp; . The 32Kb length limit is common for char-types, that is also the limit with SAS char-types.&lt;BR /&gt;The file-system on Z/OS was designed in 1970's. That is before we got common to use all those file types seen with Windows (Unix) pdf zip xml doc xlsx wav vid and much more. &lt;BR /&gt;IBM missed an implementation at z/OS fo those types, the only one coming near to that is the RECFM=u (used for binaries/loadables). &lt;BR /&gt;With DB/2 they implemented something that could also store data common to a OS file-system, the -lob objects.&amp;nbsp; There are more DBMS-systems doing this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As SAS is not seeing that -Lob object as a OS-filesystem you should convert it by yourself. &lt;BR /&gt;In the special case of CLOB and not being longer as 32Kb you could do a conversion to the standard char-types. Whether that restriction applies is something to evaluate by you.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 11:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171697#M44293</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-14T11:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171698#M44294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap,&amp;nbsp; It is exactly the same question asked by ABCD123,not hijacked Also It&lt;SPAN style="color: #005284;"&gt; is a ‘SAS interface to db2 variable problem, not a db2 problem as such.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171698#M44294</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-15T15:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171699#M44295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NitinDwivedim sorry if I was not friendly to you. &lt;/P&gt;&lt;P&gt;I started with the "proc sql query to extract value out of xml data" question. We ended with a DB2 design decision (LOB) objects that is not compatible with common RDBMS usage.&lt;/P&gt;&lt;P&gt;The incompatibility is no bodies fault. IBM with DB/2 is not guilty, and SAS going for common RDBMS data interface is not guilty. In this case a sFTP access method to the DB/2 to some SAS accessible location would be nice. That can be posted as enhancement.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting into some trouble with this kind of stuff of incompatibilities is a fact of the IT world.&amp;nbsp; We have to deal with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 17:31:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171699#M44295</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-15T17:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql query to extract value out of xml data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171700#M44296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jaap, Your help is&amp;nbsp; well appreciated. Yeah it seems incompatablities issue and nothing can be done on this, SAS doesn't support this XML data-type and now need to look around for other solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 12:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-sql-query-to-extract-value-out-of-xml-data/m-p/171700#M44296</guid>
      <dc:creator>NitinDwivedi</dc:creator>
      <dc:date>2014-07-16T12:58:14Z</dc:date>
    </item>
  </channel>
</rss>

