<?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 to manipulatge json file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-manipulatge-json-file/m-p/859791#M42327</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am making my first steps with json file and I need help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, I am connecting to an oracle db to read a precise table which is brought into the dataset test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what it look like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;JSON_FORMAT&lt;BR /&gt;"{""contacts"":[{""firstName"":""Rokaya"",""lastName"":""Bablabla"",...""}]}"&lt;BR /&gt;"{""contacts"":[{""firstName"":""Nazalene"",""lastName"":""Bablabla"",...""}]}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have retrieve a lot of information for safety purpose.&amp;nbsp; I would like to read / import each fields such as firstName, lastName and so on. Then I will replace all the email , agentEmail and managerEmail for my email , for testing purpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then from that point, I need to reproduce the original file above as it was before but with the 3 email fields updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I will take this file save it on our server. Thereafter, I will develop the SAS code to send the information to an API web server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 21:54:53 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2023-02-20T21:54:53Z</dc:date>
    <item>
      <title>how to manipulatge json file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-manipulatge-json-file/m-p/859791#M42327</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am making my first steps with json file and I need help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, I am connecting to an oracle db to read a precise table which is brought into the dataset test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's what it look like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;JSON_FORMAT&lt;BR /&gt;"{""contacts"":[{""firstName"":""Rokaya"",""lastName"":""Bablabla"",...""}]}"&lt;BR /&gt;"{""contacts"":[{""firstName"":""Nazalene"",""lastName"":""Bablabla"",...""}]}"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have retrieve a lot of information for safety purpose.&amp;nbsp; I would like to read / import each fields such as firstName, lastName and so on. Then I will replace all the email , agentEmail and managerEmail for my email , for testing purpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then from that point, I need to reproduce the original file above as it was before but with the 3 email fields updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I will take this file save it on our server. Thereafter, I will develop the SAS code to send the information to an API web server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 21:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-manipulatge-json-file/m-p/859791#M42327</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2023-02-20T21:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to manipulatge json file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-manipulatge-json-file/m-p/859792#M42328</link>
      <description>&lt;P&gt;I'm confused.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like there is a field JSON_FORMAT in your database.&amp;nbsp; What is the column type of that field?&amp;nbsp; Is it a blob or some-such which actually stores a JSON file?&amp;nbsp; Or is it&amp;nbsp; a varchar&amp;nbsp; which has JSON (JSONL?) text in it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How far have you gotten?&amp;nbsp; Do you have the SAS code to connect to the oracle database and query for the JSON_FORMAT column and write a SAS dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that code works, can you post the code, and post the results of running PROC PRINT on a few records?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 22:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-manipulatge-json-file/m-p/859792#M42328</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-02-20T22:04:14Z</dc:date>
    </item>
  </channel>
</rss>

