<?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 Does SAS can execute other program ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Does-SAS-can-execute-other-program/m-p/25902#M5884</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'd like to know wether SAS can execute a program ?&lt;BR /&gt;
&lt;BR /&gt;
I work on IBM MVS, and I'd like my SAS program to execute a TELON program.&lt;BR /&gt;
&lt;BR /&gt;
Does anybody know how to that ?&lt;BR /&gt;
&lt;BR /&gt;
Thx</description>
    <pubDate>Tue, 17 Jun 2008 14:38:37 GMT</pubDate>
    <dc:creator>j3r3m</dc:creator>
    <dc:date>2008-06-17T14:38:37Z</dc:date>
    <item>
      <title>Does SAS can execute other program ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Does-SAS-can-execute-other-program/m-p/25902#M5884</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'd like to know wether SAS can execute a program ?&lt;BR /&gt;
&lt;BR /&gt;
I work on IBM MVS, and I'd like my SAS program to execute a TELON program.&lt;BR /&gt;
&lt;BR /&gt;
Does anybody know how to that ?&lt;BR /&gt;
&lt;BR /&gt;
Thx</description>
      <pubDate>Tue, 17 Jun 2008 14:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Does-SAS-can-execute-other-program/m-p/25902#M5884</guid>
      <dc:creator>j3r3m</dc:creator>
      <dc:date>2008-06-17T14:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does SAS can execute other program ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Does-SAS-can-execute-other-program/m-p/25903#M5885</link>
      <description>you're lucky to be on that platform&lt;BR /&gt;
( well maybe &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;BR /&gt;
&lt;BR /&gt;
if you can allocate the ddnames that TELON needs as filename statements, then [pre]   PROC TELON ;&lt;BR /&gt;
   RUN;[/pre]&lt;BR /&gt;
will run that external program.&lt;BR /&gt;
If it writes an external file, when that PROC TELON finishes, you can parse that output in a data step, like [pre] data got_IT; &lt;BR /&gt;
    infile sysprint truncover ;&lt;BR /&gt;
    input @'required string' foundit $char100. ;&lt;BR /&gt;
 run;[/pre]&lt;BR /&gt;
Alternatives exist. However, I found it very useful for PROC FTP, and an easy test should be IEBGENER.&lt;BR /&gt;
&lt;BR /&gt;
Of course one gotcha: &lt;BR /&gt;
   Your TELON will need DDNAMES already in use by a normal SAS session. Fortunately there are ways to start SAS with unusual ddnames, like the SYSIN=SASIN option which directs SAS to read statements from DDNAME SASIN.&lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Tue, 17 Jun 2008 15:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Does-SAS-can-execute-other-program/m-p/25903#M5885</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-17T15:14:23Z</dc:date>
    </item>
  </channel>
</rss>

