<?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 How can we create an XML file using SAS DI 4.2 in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45409#M407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple process flow will help, please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Feb 2012 10:56:31 GMT</pubDate>
    <dc:creator>blindgaurdien16</dc:creator>
    <dc:date>2012-02-04T10:56:31Z</dc:date>
    <item>
      <title>How can we create an XML file using SAS DI 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45408#M406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is to export a CSV file into an XML file with direct one to one mapping with no transformation,&lt;/P&gt;&lt;P&gt;but unfortunately i am getting some problems at the last step during the XML creation.&lt;/P&gt;&lt;P&gt;After the XML writer, i am creating an XML library and mapping a table for the same.&lt;/P&gt;&lt;P&gt;Still not able to populate the XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest an ALTERNATE opinion for this, if this is not right !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prakash &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 18:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45408#M406</guid>
      <dc:creator>blindgaurdien16</dc:creator>
      <dc:date>2012-02-03T18:00:53Z</dc:date>
    </item>
    <item>
      <title>How can we create an XML file using SAS DI 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45409#M407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple process flow will help, please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Feb 2012 10:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45409#M407</guid>
      <dc:creator>blindgaurdien16</dc:creator>
      <dc:date>2012-02-04T10:56:31Z</dc:date>
    </item>
    <item>
      <title>How can we create an XML file using SAS DI 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45410#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you have to create a '&lt;SPAN style="background-color: #eef4f9;"&gt;XML library' ex:- 'SAS &lt;SPAN style="background-color: #eef4f9;"&gt;library'&amp;nbsp; in "New Library Wizard" (last but one 'if using 4.2 ver ) then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;1) Then give 'Libref' name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;2) Then Path 'where you want to save the file' (ex: C:\work\&lt;STRONG&gt;Append&lt;/STRONG&gt;.xml) [ Append&amp;nbsp; data set should be there in that folder that data set &lt;STRONG&gt;'columns &amp;amp; dataset&lt;/STRONG&gt;' only u have to use as a source]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;3) Select 'XML Type' -----&amp;gt;&amp;nbsp; ''GENERIC''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;4) Create a job&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;5) Create a new table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;6) DBMS ------&amp;gt;&amp;nbsp;&amp;nbsp; 'XML-All Douments'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;7) Library ------&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; what u created on point '1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Fallow the point '2'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;9) Drag '&lt;STRONG&gt;Append data set'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;10) Drag 'XML Writer'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;11) Drag out put dataset (Target table data set)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;12) Map 'Source to ----------&amp;gt;XML Writer ----------&amp;gt;Target data set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;13) F3 (Run)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;Done u can see the XML file on the path &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;Suresh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 20:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45410#M408</guid>
      <dc:creator>Grandhi4</dc:creator>
      <dc:date>2012-02-23T20:31:22Z</dc:date>
    </item>
    <item>
      <title>How can we create an XML file using SAS DI 4.2</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45411#M409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thanks for this Job flow, but i managed to create this Job flow and now facing some issues with XSD.&lt;/P&gt;&lt;P&gt;I need to create my XML based on a XSD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the XML library i have created, i have mapped the SCHEMA(XSD) for the same in the advanced options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But while the job is running i seem to be facing this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.W63UAVD1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE BrokerRef in ('ABCD1234', 'ABCD1235', 'ABCD1236', 'ABCD1237', 'ABCD1238');&lt;/P&gt;&lt;P&gt;NOTE: There were 5 observations read from the data set WORK.W63UBJOQ.&lt;/P&gt;&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.W63TUS5B.&lt;/P&gt;&lt;P&gt;WARNING: The data set LIB_OUT.TAB_AGENCY may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/P&gt;&lt;P&gt; observations and 22 variables.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;Segmentation Violation In Task [ DATASTEP ]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2006&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2007&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %perfstop(metrVal6=%sysfunc(max(&amp;amp;etls_recnt,-1)));&lt;/P&gt;&lt;P&gt;MACROGEN(PERFSTOP):&amp;nbsp;&amp;nbsp; options notes nosource nosource2 nosymbolgen nomprint nomlogic&lt;/P&gt;&lt;P&gt;NOTE: _DISARM|A5UQOBQF.BY0008AB|lavanya|XMLWriter| _DISARM|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STOP| _DISARM| 2012-02-23T15:24:&lt;/P&gt;&lt;P&gt;42,285+05:1800| _DISARM| &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAS_Data_Integration_Studio| _DISARM| SAS| _DISARM| -1| _DISARM| 12619776| _DISARM| 11571200| &lt;/P&gt;&lt;P&gt;_DISARM| 12| _DISARM| 12| &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DISARM| 0| _DISARM| 0| _DISARM| 0.040000| _DISARM| 0.072680| _DISARM| 1645610082.213303| _DIS&lt;/P&gt;&lt;P&gt;ARM| 1645610082.285983| &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DISARM| 0.072680| _DISARM| | _ENDDISARM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea rgd this SEGMENT VIOLATION in TASK and have you tired creating an XML using XSD ?&lt;/P&gt;&lt;P&gt;Any pointers to this will be of great HELP !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Prakash Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 08:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-we-create-an-XML-file-using-SAS-DI-4-2/m-p/45411#M409</guid>
      <dc:creator>blindgaurdien16</dc:creator>
      <dc:date>2012-02-24T08:38:52Z</dc:date>
    </item>
  </channel>
</rss>

