<?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: Datastep cannot access degrees() and acos() functions: ERROR 68-185 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198603#M37223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; SAS (r) Proprietary Software 9.3 (TS1M0)&lt;/P&gt;&lt;P&gt;I had noticed the&amp;nbsp; SAS (r) Proprietary Software 9.3 (TS1M0) mentioned, but I thought the functions would have the same names across procedures...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 17:44:01 GMT</pubDate>
    <dc:creator>charles_pignon1</dc:creator>
    <dc:date>2015-04-17T17:44:01Z</dc:date>
    <item>
      <title>Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198599#M37219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am unable to access the functions degrees() and acos() within the datastep.&amp;nbsp; When I try to run them the following error message appears:&lt;/P&gt;&lt;P&gt;ERROR 68-185: The function DEGREES is unknown, or cannot be accessed.&lt;/P&gt;&lt;P&gt;ERROR 68-185: The function ACOS is unknown, or cannot be accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data hello;&lt;/P&gt;&lt;P&gt;testdegrees=degrees(.5);&lt;/P&gt;&lt;P&gt;testacos=acos(.5);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 14:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198599#M37219</guid>
      <dc:creator>charles_pignon1</dc:creator>
      <dc:date>2015-04-17T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198600#M37220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect you are looking for a&lt;STRONG&gt;r&lt;/STRONG&gt;cos instead of acos. What is the function Degrees supposed to do? There is no such function in SAS, which is what the error message is saying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 15:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198600#M37220</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-17T15:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198601#M37221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The degrees function should return the number of degrees for an angle in radians; here is a link describing it:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/fedsqlref/67364/HTML/default/viewer.htm#p1c8k83ftmqzbkn1ovjwzbi9m32p.htm" title="http://support.sas.com/documentation/cdl/en/fedsqlref/67364/HTML/default/viewer.htm#p1c8k83ftmqzbkn1ovjwzbi9m32p.htm"&gt;http://support.sas.com/documentation/cdl/en/fedsqlref/67364/HTML/default/viewer.htm#p1c8k83ftmqzbkn1ovjwzbi9m32p.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tried arcos and it worked, though, so maybe I'm just not getting functions from the right place... Here is the link that I found describing the acos function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/sasc/doc750/html/lr1/z2054507.htm" title="https://support.sas.com/documentation/onlinedoc/sasc/doc750/html/lr1/z2054507.htm"&gt;Function Descriptions : acos&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:18:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198601#M37221</guid>
      <dc:creator>charles_pignon1</dc:creator>
      <dc:date>2015-04-17T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198602#M37222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're looking at the FEDSQL SAS 9.4 documentation for first link and the second is SAS 7 documentation I think. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of SAS are you on? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198602#M37222</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-17T17:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198603#M37223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; SAS (r) Proprietary Software 9.3 (TS1M0)&lt;/P&gt;&lt;P&gt;I had noticed the&amp;nbsp; SAS (r) Proprietary Software 9.3 (TS1M0) mentioned, but I thought the functions would have the same names across procedures...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198603#M37223</guid>
      <dc:creator>charles_pignon1</dc:creator>
      <dc:date>2015-04-17T17:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198604#M37224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For PROC SQL they do, though some of the summary functions such as mean, min, max, sum, and median operate differently. &lt;/P&gt;&lt;P&gt;FEDSQL is almost a different language introduced in SAS 9.4.&amp;nbsp; Also, each version will have new functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like how the 9.2 documentation is laid out personally, but the 9.3 documentation is here&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/allprodslang/64083/HTML/default/viewer.htm#syntaxByProduct-macroFunction.htm" title="http://support.sas.com/documentation/cdl/en/allprodslang/64083/HTML/default/viewer.htm#syntaxByProduct-macroFunction.htm"&gt;SAS(R) 9.3 Language Reference by Name, Product, and Category&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're looking for BASE SAS functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS 9.2 documentation&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245852.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245852.htm"&gt;SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 17:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198604#M37224</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-17T17:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198605#M37225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for that clarification. Unfortunately, there appears to be no equivalent to the degrees function I was looking for in the SAS datastep (based on the functions in the 'trigonometric' category). I should be able to get it elsewhere though. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 18:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198605#M37225</guid>
      <dc:creator>charles_pignon1</dc:creator>
      <dc:date>2015-04-17T18:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198606#M37226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;degrees = radians * 180 / constant("pi");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 18:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198606#M37226</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-04-17T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198607#M37227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked perfectly. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 18:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198607#M37227</guid>
      <dc:creator>charles_pignon1</dc:creator>
      <dc:date>2015-04-17T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Datastep cannot access degrees() and acos() functions: ERROR 68-185</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198608#M37228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link given for the ACOS function leads to the documentation for SAS's version of the C language.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Apr 2015 23:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datastep-cannot-access-degrees-and-acos-functions-ERROR-68-185/m-p/198608#M37228</guid>
      <dc:creator>dkb</dc:creator>
      <dc:date>2015-04-19T23:45:16Z</dc:date>
    </item>
  </channel>
</rss>

