<?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: How to interpret &amp;quot;procedure&amp;quot; in &amp;quot;PROC OPTMODEL&amp;quot; procedure? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727566#M28207</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; It actually clears things up.&amp;nbsp; Basically, very sophisticated tools are invoked as procedures from a higher level language.&amp;nbsp; A bit like being in Bash and invoking LaTeX.&amp;nbsp; But much more sophisticated.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Mar 2021 20:47:02 GMT</pubDate>
    <dc:creator>MiteUseSAS</dc:creator>
    <dc:date>2021-03-18T20:47:02Z</dc:date>
    <item>
      <title>How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727523#M28200</link>
      <description>&lt;P&gt;I was doing an environmental scan of mathematical programming languages that support a "modeler's form".&amp;nbsp; This seems like a well recognized term coined by creators of AMPL, meaning that the data structures/objects are organized and named in a way that recognizably reflects the context of the problem domain.&amp;nbsp; For SAS, I started in what I now think is in a tangential area, CASL, and found my way to SAS/OR, specifically OPTMODEL.&amp;nbsp; However, I'm having trouble with the terminology used.&amp;nbsp; OPTMODEL is referred to as a "procedure", with one way of designating it is "PROC OPTMODEL" [1,2].&amp;nbsp; But it is described as a modelling language plus solvers. Procedures are normally a component of languages rather than the other way around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found my way to the example code at pages [3,4].&amp;nbsp; If these are in fact examples of the modelling language associated with OPTMODEL, then it overlaps a lot with AMPL, which would make sense since they both model mathematical programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is OPTMODEL referred to as a "procedure"?&amp;nbsp; It seems like an model interpreter.&amp;nbsp; By "procedure", does SAS mean "workflow" or "process"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I also found this explanation of SAS procedures: &lt;A href="https://support.sas.com/learn/le/proc/index.html" target="_blank"&gt;https://support.sas.com/learn/le/proc/index.html&lt;/A&gt;.&amp;nbsp; It refers to "procedure statements" as a "PROC step".&amp;nbsp; It doesn't really clea things up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1] &lt;A href="https://support.sas.com/rnd/app/or/MP.html" target="_blank" rel="noopener"&gt;https://support.sas.com/rnd/app/or/MP.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[2] &lt;A href="https://support.sas.com/rnd/app/or/procedures/optmodel.html" target="_blank" rel="noopener"&gt;https://support.sas.com/rnd/app/or/procedures/optmodel.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[3] &lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ormpex&amp;amp;docsetTarget=ormpex_ex1_sect009.htm"&gt;http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ormpex&amp;amp;docsetTarget=ormpex_ex1_sect009.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[4] &lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ormpex&amp;amp;docsetTarget=ormpex_code_mpex01.htm"&gt;http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ormpex&amp;amp;docsetTarget=ormpex_code_mpex01.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 19:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727523#M28200</guid>
      <dc:creator>MiteUseSAS</dc:creator>
      <dc:date>2021-03-18T19:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727548#M28203</link>
      <description>I won't be able to answer your questions but I'll add some info that may be helpful.&lt;BR /&gt;&lt;BR /&gt;PROC is short for PROCEDURE. &lt;BR /&gt;SAS typically has PROCS and DATA steps as the main components, the PROCS usually do a very specific task, ie PROC MEANS does summary statistics and PROG LOGISTIC does logistic regression. A data step is primarily for data wrangling.&lt;BR /&gt;&lt;BR /&gt;PROCs are organized into modules based on their functions, so SAS/STAT is the statistical procedures, SAS/OR is the operations research procedures. &lt;BR /&gt;&lt;BR /&gt;You can sign up for a free account on SAS Academics on Demand (as an indepedent learner) and you'll have access to SAS which also includes SAS/OR module. You may also want to look into IML which has a more mathematical programming structure. SAS data steps are significantly different but they have their advantages as well. If you're looking at Viya, that also allows for R/Python usage as well.</description>
      <pubDate>Thu, 18 Mar 2021 19:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727548#M28203</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-18T19:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727551#M28204</link>
      <description>&lt;P&gt;One of the first things to remember about SAS - it is NOT a programming language (although I suspect there are those in this community that would disagree).&amp;nbsp; SAS is a useful set of tools that often look like a programming language - in particular the DATA step, which is effectively the only component of the SAS "language" that is not referred to as a procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Procedures may be simple:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=mylib.mydata;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which reports on the metadata of a sas data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably the most frequently used non-simple procedure is PROC SQL, which facilitates most sql statements in managing data sets.&amp;nbsp; I suppose in many programming contexts, SQL is not a procedure, but a language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've just run into PROC OPTMODEL which has a rich variety of components that look like a sub(?)-language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS, if it is a language, is a procedural language - it does its work in a series of modules called by the programmer to ultimately facilitate data analysis.&amp;nbsp; A step (either a data step or a proc step) is run, followed by another step, etc. until the multi-step program has come to an end.&amp;nbsp; &amp;nbsp; As a generality these procedures cannot call each other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I leave it to the computer scientists among us to clarify my answer.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727551#M28204</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-03-18T20:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727555#M28205</link>
      <description>&lt;P&gt;Look into Proc IML for even more similar confusion.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:18:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727555#M28205</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-18T20:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727561#M28206</link>
      <description>&lt;P&gt;Thanks, Reeza.&amp;nbsp; I'm just trying to interpret the language that describes OPTMODEL at this point.&lt;/P&gt;&lt;P&gt;At the moment, I suspect that an OPTMODEL procedure is actually the source code that describes a model using the modeling language, i.e., rather than the intepreter itself.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727561#M28206</guid>
      <dc:creator>MiteUseSAS</dc:creator>
      <dc:date>2021-03-18T20:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret "procedure" in "PROC OPTMODEL" procedure?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727566#M28207</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; It actually clears things up.&amp;nbsp; Basically, very sophisticated tools are invoked as procedures from a higher level language.&amp;nbsp; A bit like being in Bash and invoking LaTeX.&amp;nbsp; But much more sophisticated.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 20:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-interpret-quot-procedure-quot-in-quot-PROC-OPTMODEL-quot/m-p/727566#M28207</guid>
      <dc:creator>MiteUseSAS</dc:creator>
      <dc:date>2021-03-18T20:47:02Z</dc:date>
    </item>
  </channel>
</rss>

