<?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: Apparent symbolic reference URL in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675488#M36660</link>
    <description>&lt;P&gt;Thanks Reeza for your suggestions.&amp;nbsp; I have re-read Chris' blog and that helped me out.&amp;nbsp; Still trying to get data to come through and am very close, but not quite there.&lt;/P&gt;</description>
    <pubDate>Sun, 09 Aug 2020 17:27:36 GMT</pubDate>
    <dc:creator>gregor1</dc:creator>
    <dc:date>2020-08-09T17:27:36Z</dc:date>
    <item>
      <title>Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675147#M36640</link>
      <description>&lt;P&gt;I want to use Proc http to download a json file from a website, then read the data and manipulate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have never used Proc http before and have two questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Question&lt;/STRONG&gt; - I am getting symbolic reference warnings and don't know if these are warning I can ignore or not?&amp;nbsp; My URL address is very long and I get the following warnings:&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;EM&gt;WARNING: Apparent symbolic reference SYSPARM_DISPLAY_VALUE not resolved.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING: Apparent symbolic reference SYSPARM_EXCLUDE_REFERENCE_LINK not resolved.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING: Apparent symbolic reference SYSPARM_FIELDS not resolved.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING: Apparent symbolic reference SYSPARM_LIMIT not resolved.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I am running is:&lt;/P&gt;&lt;P&gt;filename out TEMP;&lt;BR /&gt;filename cacm TEMP;&lt;BR /&gt;proc http&lt;BR /&gt;url="&lt;A target="_blank"&gt;https://abc.service-now.com/api/now/table/u_cacm_pl_uw_mngr_type_8?sysparm_query=cref_referred_dateONLast%2012%20months%40javascript%3Ags.beginningOfLast12Months()%40javascript%3Ags.endOfLast12Months()%5Ecref_referent.job_title%3DPersonal%20LOB%20Underwriting%20Manager%5EORcref_referent.job_title%3DLOB%20Underwriting%20Manager%5EORcref_referent.job_title%3DUnderwriting%20Manager%5EORcref_referent.job_title%3DUnderwriting%20Manager&amp;amp;sysparm_display_value=true&amp;amp;sysparm_exclude_reference_link=true&amp;amp;sysparm_fields=c_number%2Cc_case_open_timestamp%2Ccref_referred_date%2Ccref_response_date%2Ccref_referent%2Ccp_policy.contract_state_code&amp;amp;sysparm_limit=10&lt;/A&gt;"&lt;BR /&gt;method="GET"&lt;BR /&gt;out=out&lt;BR /&gt;headerout=cacm&lt;BR /&gt;AUTH_NEGOTIATE&lt;BR /&gt;WEBUSERNAME="admin"&lt;BR /&gt;WEBPASSWORD="xxxxxxxxxx";&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;libname CACM xlsx "%sysfunc(pathname(out))" ;&lt;BR /&gt;proc copy inlib=cacm outlib=WORK;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;STRONG&gt;My second question&lt;/STRONG&gt; - assuming that I don't need to worry about the warnings or if I can resolve them and mt PROC HTTP successfully runs (it seems to run with no errors), then how do I read the dataset? In this case, I would like to make JSON output&amp;nbsp;as a SAS dataset and mainpulate it.&amp;nbsp; My code runs with no errors but also no output.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;The test JSON output should look loke this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Test REST Response:&lt;/P&gt;&lt;P&gt;{"result":[&lt;BR /&gt;{"c_number":"3364","cp_policy.contract_state_code":"OH","cref_referred_date":"2019-09-23","cref_response_date":"2019-09-27","c_case_open_timestamp":"2019-09-23"},&lt;BR /&gt;{"c_number":"2489","cp_policy.contract_state_code":"CO","cref_referred_date":"2019-07-30","cref_response_date":"2019-07-31","c_case_open_timestamp":"2019-07-30"},&lt;BR /&gt;{"c_number":"3571","cp_policy.contract_state_code":"WA","cref_referred_date":"2019-10-09","cref_response_date":"2019-10-18","c_case_open_timestamp":"2019-10-08"},&lt;BR /&gt;{"c_number":"2752","cp_policy.contract_state_code":"IA","cref_referred_date":"2019-08-15","cref_response_date":"2019-08-27","c_case_open_timestamp":"2019-08-15"},&lt;BR /&gt;{"c_number":"2752","cp_policy.contract_state_code":"IA","cref_referred_date":"2019-08-15","cref_response_date":"2019-08-27","c_case_open_timestamp":"2019-08-15"},&lt;BR /&gt;{"c_number":"3016","cp_policy.contract_state_code":"NE","cref_referred_date":"2019-08-29","cref_response_date":"2019-09-09","c_case_open_timestamp":"2019-08-29"},&lt;BR /&gt;{"c_number":"3336","cp_policy.contract_state_code":"MO","cref_referred_date":"2019-09-23","cref_response_date":"2019-09-23","c_case_open_timestamp":"2019-09-23"},&lt;BR /&gt;{"c_number":"3336","cp_policy.contract_state_code":"MO","cref_referred_date":"2019-09-23","cref_response_date":"2019-09-23","c_case_open_timestamp":"2019-09-23"},&lt;BR /&gt;{"c_number":"3336","cp_policy.contract_state_code":"MO","cref_referred_date":"2019-09-23","cref_response_date":"2019-09-23","c_case_open_timestamp":"2019-09-23"},&lt;BR /&gt;{"c_number":"2817","cp_policy.contract_state_code":"WI","cref_referred_date":"2019-08-19","cref_response_date":"2019-08-27","c_case_open_timestamp":"2019-08-19"}&lt;BR /&gt;]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I appreciate any help or guidance!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 21:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675147#M36640</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-06T21:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675151#M36641</link>
      <description>What version of SAS do you have? If you have a version beyond 9.4M4+ then you can use the JSON libname very easily. &lt;BR /&gt;This blog post illustrates how to use it. &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2016/12/02/json-libname-engine-sas/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2016/12/02/json-libname-engine-sas/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;FYI - to avoid the warnings put your URL in single quotes. &amp;amp; and % are part of the macro syntax and SAS is thinking you're using macro variables/macros when you're not. If you put them in single quotes it will not try and resolve them and you will not get warnings.</description>
      <pubDate>Thu, 06 Aug 2020 21:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675151#M36641</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T21:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675152#M36642</link>
      <description>You can check your SAS version with the following:&lt;BR /&gt;&lt;BR /&gt;proc product_status;run;</description>
      <pubDate>Thu, 06 Aug 2020 21:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675152#M36642</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T21:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675227#M36651</link>
      <description>&lt;P&gt;Regarding the warnings, they are informational but don't hurt anything.&amp;nbsp; However, I prefer to resolve these for a cleaner log with less noise.&amp;nbsp; Two techniques:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;use&amp;nbsp;&lt;STRONG&gt;single quotes&lt;/STRONG&gt; in the URL= option on PROC HTTP.&amp;nbsp; This prevents SAS from trying to process the &amp;amp; parameters as a macro symbol.&lt;/LI&gt;
&lt;LI&gt;or...especially if you actually do have some macro variables in your URL string (I often do), you can wrap the non-macro params with %str() like so:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A target="_blank"&gt;https://abc.service-now.com/api/now/table/u_cacm_pl_uw_mngr_type_8%&lt;STRONG&gt;str(&amp;amp;)&lt;/STRONG&gt;sysparm_query=cref_referred_dateO...&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675227#M36651</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-08-07T11:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675299#M36656</link>
      <description>&lt;P&gt;Thanks Chris for your reply -&amp;nbsp;it took care of the warnings.&amp;nbsp; I appreciate the help.&amp;nbsp; Now I need to figure out the JSON end of my code.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 21:06:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675299#M36656</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-07T21:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675327#M36657</link>
      <description>&lt;P&gt;You're almost there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname data json fileref=out;
data result;
 set data.result;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1596840237397.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48060iD670DEEAC033152F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1596840237397.png" alt="ChrisHemedinger_0-1596840237397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Use the INPUT function to change these fields to the proper types -- numeric, date, etc.)&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 22:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675327#M36657</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-08-07T22:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675488#M36660</link>
      <description>&lt;P&gt;Thanks Reeza for your suggestions.&amp;nbsp; I have re-read Chris' blog and that helped me out.&amp;nbsp; Still trying to get data to come through and am very close, but not quite there.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 17:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675488#M36660</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-09T17:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675489#M36661</link>
      <description>&lt;P&gt;I am using 9.4_M5 and am trying to use the JSON engine.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 17:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675489#M36661</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-09T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675493#M36662</link>
      <description>&lt;P&gt;Hi Chris!&amp;nbsp; I have been trying your suggestions and am still getting an error and no results.&amp;nbsp; I am so close and it is probably a super easy fix, but am missing something.&amp;nbsp; My current code is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; out &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;TEMP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cacm &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;TEMP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;http&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;url&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'&lt;A target="_blank"&gt;https://abcd.service-now.com/api/now/table/u_cacm_pl_uw_mngr_type_8?sysparm_query=cref_referred_dateONLast%2012%20months%40javascript%3Ags.beginningOfLast12Months()%40javascript%3Ags.endOfLast12Months()%5Ecref_referent.job_title%3DPersonal%20Lines%20Underwriting%20Manager%5EORcref_referent.job_title%3DProperty%20Underwriting%20Manager%5EORcref_referent.job_title%3DUnderwriting%20Manager%5EORcref_referent.job_title%3DUnderwriting%20Manager&amp;amp;sysparm_display_value=true&amp;amp;sysparm_exclude_reference_link=true&amp;amp;sysparm_fields=c_number%2Cc_case_open_timestamp%2Ccref_referred_date%2Ccref_response_date%2Ccref_referent%2Ccp_xyz.contract_state_code&amp;amp;sysparm_limit=10&lt;/A&gt;'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;method&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"GET"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=out&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;headerout&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=cacm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;AUTH_NEGOTIATE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;WEBUSERNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"admin"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;WEBPASSWORD&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"xxxxxxxxx"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*libname CACM xlsx "%sysfunc(pathname(out))" ;&lt;/P&gt;&lt;P&gt;*proc copy inlib=cacm outlib=WORK;&lt;/P&gt;&lt;P&gt;*run;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; result JSON fileref=out;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; result;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; data.result;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error -&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: File DATA.RESULT.DATA does not exist&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;I have tried using different names other than "result" for my JSON libname statement and don't seem to get anywhere.&amp;nbsp; Really scratching me head on this one and hoping you or others may see my coding error.&lt;/P&gt;&lt;P&gt;As always, thanks so much for yours (and everyone's) help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 17:57:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675493#M36662</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-09T17:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675505#M36663</link>
      <description>&lt;P&gt;You code is a little different than mine.&amp;nbsp; The JSON libname in your code is RESULT, but in mine I named it DATA.&amp;nbsp; Try using PROC DATASETS to see the contents of the JSON data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname data json fileref=out;
proc datasets lib=data; quit;

/* if there is a RESULT table then this should work */
data result;
 set data.result;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 20:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675505#M36663</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-08-09T20:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675666#M36671</link>
      <description>&lt;P&gt;Hi Chris;&lt;/P&gt;&lt;P&gt;I ran the code and&amp;nbsp;RESULT is not there.&amp;nbsp; My log shows:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;libname data json fileref=out;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NOTE: JSON data is only read once. To read the JSON again, reassign the JSON LIBNAME.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NOTE: Libref DATA was successfully assigned as follows:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Engine: JSON&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Physical Name: /saswork/SAS_work344100007187_pgnp008.ABCD.com/#LN00256&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;proc datasets lib=data;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;! quit;&lt;/P&gt;&lt;P&gt;The results show that the libref is DATA with Access of READONLY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use DATA as my file name I get:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: File DATA.RESULT.DATA does not exist&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675666#M36671</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-10T16:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675676#M36673</link>
      <description>&lt;P&gt;Check the contents of your JSON file to ensure it has what you think should be there.&amp;nbsp; Assuming your fileref is named&amp;nbsp;&lt;STRONG&gt;out&lt;/STRONG&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
 rc = jsonpp("data","log");
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using the data you supplied before, it should look something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1597078848946.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48103i42AAF2939F69AE88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1597078848946.png" alt="ChrisHemedinger_0-1597078848946.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 17:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675676#M36673</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-08-10T17:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675716#M36674</link>
      <description>&lt;P&gt;Chris, what you sent is what I expected to see as well, but am not getting that anywhere.&amp;nbsp; My current code (I have been trying various&amp;nbsp;filenames during our blogging)&amp;nbsp;looks like:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; out &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;TEMP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;filename&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cacm &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;TEMP&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;http&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;url&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;'&lt;A href="https://ABCD.service-now.com/api/now/table/u_cacm_pl_uw_mngr_type_8" target="_blank" rel="noopener"&gt;https://ABCD.service-now.com/api/now/table/u_cacm_pl_uw_mngr_type_8&lt;/A&gt;?...'&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;method&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"GET"&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=out&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;headerout&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=cacm&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;AUTH_NEGOTIATE&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;WEBUSERNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"admin"&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;WEBPASSWORD&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"xxxxxxx"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; CACM json &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"%sysfunc(pathname(out))"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;copy&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;inlib&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=cacm &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;outlib&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; CACM JSON fileref=out;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;*data result;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;* set data.result;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;*run;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;_null_&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3"&gt;rc = jsonpp(&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"data"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"log"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;41 libname CACM JSON fileref=out;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NOTE: JSON data is only read once. To read the JSON again, reassign the JSON LIBNAME.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NOTE: Libref CACM was successfully assigned as follows:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Engine: JSON&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Physical Name: /saswork/SAS_work36A300006AD9_pgnp008.ABCD.com/#LN00050&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;42 *data result;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;43 * set data.result;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;44 *run;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;45 data _null_;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;46 rc = jsonpp("data","log");&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;47 run;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#ff0000"&gt;ERROR: Physical file does not exist, /config/sas94/Lev1/SASApp/data&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALLDATA:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error&amp;nbsp;&amp;nbsp;&amp;nbsp; message&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User Not Authenticated&lt;BR /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error&amp;nbsp;&amp;nbsp;&amp;nbsp; detail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Required to provide Auth information&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; failure&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675716#M36674</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-10T18:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675719#M36675</link>
      <description>&lt;P&gt;My code was wrong - should be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
 rc = jsonpp("out","log");
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But the ALLDATA member has the messages.&amp;nbsp; Your API call was not authenticated properly.&amp;nbsp; You're trying to use Basic authentication (user/pw). Maybe the user/pw is wrong, or maybe the service isn't configured to allow Basic auth.&amp;nbsp; It's often disallowed these days as OAuth2 is more standard and secure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the least, your PROC HTTP statement should use AUTH_BASIC instead of NEGOTIATE, as that's the protocol you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try your API call in another interactive environment to get it working before trying to script it with SAS.&amp;nbsp; Postman is a good one. &lt;A href="https://blogs.sas.com/content/sgf/2020/07/30/curl-to-proc-http/" target="_self"&gt;See tips here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/675719#M36675</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-08-10T18:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent symbolic reference URL</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/676005#M36698</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;Both you and Reeza have been of great help!&amp;nbsp; I did finally get this JSON to load in to SAS.&amp;nbsp; I am a newbie on some of this and the information you shared is greatly appreciated.&amp;nbsp; The authentication issue has been resolved and the data is coming through exactly as you indicated.&amp;nbsp; You made my day!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 21:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Apparent-symbolic-reference-URL/m-p/676005#M36698</guid>
      <dc:creator>gregor1</dc:creator>
      <dc:date>2020-08-11T21:19:10Z</dc:date>
    </item>
  </channel>
</rss>

