<?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 invoke SAS from a REXX in &amp;quot;silent&amp;quot; mode (z/OS) in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694342#M999</link>
    <description>&lt;P&gt;Here's what I was finally able to make work.&amp;nbsp;&amp;nbsp; It worked well and faster than I thought.&lt;/P&gt;
&lt;P&gt;My next step will be to enable the SAS code to issue ISPF commands and build an ISPF table to display the results.&amp;nbsp; Currently the output is sent to SYSOUT and/or sent via email, so the ISPF output option will be another option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADDRESS TSO "ALTLIB ACT APPL(EXEC)&amp;nbsp; DA(SAS.SASRX.LIB)"&lt;/P&gt;
&lt;P&gt;call sasrx&amp;nbsp;"-input 'my.sas.source(fritz)' log(2) print(2)" &lt;BR /&gt;ADDRESS TSO "ALTLIB DEACTIVATE APPL(EXEC)"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RETURN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2020 20:31:05 GMT</pubDate>
    <dc:creator>mikegia5</dc:creator>
    <dc:date>2020-10-26T20:31:05Z</dc:date>
    <item>
      <title>How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/693211#M989</link>
      <description>&lt;P&gt;Is there a way to call a SAS program "under the covers" from an ISPF/REXX application?&amp;nbsp; I know there is an interactive SAS, but I don't want my users to necessarily know they are using SAS.&amp;nbsp; I just want them to enter some parameters on an ISPF screen and then get the results.&amp;nbsp; Today the ISPF application builds SAS JCL and then puts them into an ISPF Edit session for them to review the jobcard and then submit.&amp;nbsp; I would like to give them a "Foreground/Background" option so they can choose.&amp;nbsp; I would write the results to a dataset and then put them into a browse session showing them the results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The 2nd part of the problem is that the ISPF application allows user&amp;nbsp;to&amp;nbsp;choose to see the report in one of several ODS formats (CSV/EXCEL/PDF/HTML) so it would be really nice if I could open a window with the spreadsheet, but today I send that over an email and I can continue to do that.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/693211#M989</guid>
      <dc:creator>mikegia5</dc:creator>
      <dc:date>2020-10-21T15:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/693422#M990</link>
      <description>&lt;P&gt;Sounds very sophisticated.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to build JCL that can be submitted to the internal reader without human review.&amp;nbsp; The JCL would run the SAS program(s) and send out an email with the output as an attachment.&amp;nbsp; I would think that would be workable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&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>Thu, 22 Oct 2020 08:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/693422#M990</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-22T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694096#M994</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;
&lt;P&gt;I was looking for more of a "Foreground/Background" option.&amp;nbsp; I don't want to submit the JCL without giving someone a chance to review the jobcard options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did find two methods for invoking SAS - once is via the SAS clist and another via SASRX.&amp;nbsp; And there is an input option that should allow SAS to startup and run a SAS program.&amp;nbsp; I'll continue trying to get them to work - as soon as I find a little free time!&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2020 12:37:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694096#M994</guid>
      <dc:creator>mikegia5</dc:creator>
      <dc:date>2020-10-25T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694142#M995</link>
      <description>&lt;P&gt;I'm pretty sure this should be possible. Back in the dim, distant past when I used SAS on mainframes you could invoke SAS interactively by just typing something like TSO SAS on a TSO command line to invoke a SAS interactive session. Perhaps invoking SAS via SASRX and supplying a SAS program name on the command will get you what you want.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 00:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694142#M995</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-10-26T00:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694245#M996</link>
      <description>&lt;P&gt;That's exactly what I'm working on - trying to find the right combination of options and TSO allocations to get it to work.&amp;nbsp; I'm trying both SAS and SASRX and I'm close, but, can't work on this now because of other priorities.&amp;nbsp; I'll get back to it soon and post what I found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 14:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694245#M996</guid>
      <dc:creator>mikegia5</dc:creator>
      <dc:date>2020-10-26T14:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694286#M997</link>
      <description>&lt;P&gt;See the documentation for using SAS on z/OS.&amp;nbsp; You want "non interactive mode"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 927px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51059iAABB4838370E1EEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 16:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694286#M997</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2020-10-26T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694296#M998</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Yes, thanks.&amp;nbsp; I have all that doc and I've been experimenting with SAS INPUT and SASRX -INPUT, allocate, etc.&amp;nbsp; It might be an installation problem as most of the times I get an error about an unbalanced comment and it hasn't even begun to execute my code.&amp;nbsp;&amp;nbsp; I'll try to get back to this when I can!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 16:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694296#M998</guid>
      <dc:creator>mikegia5</dc:creator>
      <dc:date>2020-10-26T16:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to invoke SAS from a REXX in "silent" mode (z/OS)</title>
      <link>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694342#M999</link>
      <description>&lt;P&gt;Here's what I was finally able to make work.&amp;nbsp;&amp;nbsp; It worked well and faster than I thought.&lt;/P&gt;
&lt;P&gt;My next step will be to enable the SAS code to issue ISPF commands and build an ISPF table to display the results.&amp;nbsp; Currently the output is sent to SYSOUT and/or sent via email, so the ISPF output option will be another option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADDRESS TSO "ALTLIB ACT APPL(EXEC)&amp;nbsp; DA(SAS.SASRX.LIB)"&lt;/P&gt;
&lt;P&gt;call sasrx&amp;nbsp;"-input 'my.sas.source(fritz)' log(2) print(2)" &lt;BR /&gt;ADDRESS TSO "ALTLIB DEACTIVATE APPL(EXEC)"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RETURN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 20:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-invoke-SAS-from-a-REXX-in-quot-silent-quot-mode-z-OS/m-p/694342#M999</guid>
      <dc:creator>mikegia5</dc:creator>
      <dc:date>2020-10-26T20:31:05Z</dc:date>
    </item>
  </channel>
</rss>

