<?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: SAS interfcae to REXX in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46212#M9557</link>
    <description>You will need to debug your SAS execution further by changing to different code in order to assess the expected or unexpected behavior or contact SAS support to open a track and share all output with them.  Suggest you inspect all job output closely for any suspicious diagnostic messages.&lt;BR /&gt;
&lt;BR /&gt;
Also, you mentioned FT11F001 - that SAS log output destination went away with SAS version 6 (normally), unless your site still has CONFIG options overridden.&lt;BR /&gt;
What is your SAS version? Still you will need to do your own debugging here or contact SAS support.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
    <pubDate>Wed, 27 Jan 2010 14:38:15 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-01-27T14:38:15Z</dc:date>
    <item>
      <title>SAS interfcae to REXX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46208#M9553</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to execute a REXX program from a SAS step. I have written the below code but the REXX code is not getting executed.  &lt;BR /&gt;
&lt;BR /&gt;
//REXXSTEP EXEC PGM=IEBUPDTE,REGION=1024K,                            &lt;BR /&gt;
//             PARM='NEW'                                             &lt;BR /&gt;
//SYSPRINT  DD SYSOUT=*                                               &lt;BR /&gt;
//SYSUT2    DD DSN=&amp;amp;&amp;amp;TEMP1,                                           &lt;BR /&gt;
//             DISP=(NEW,KEEP,DELETE),                                &lt;BR /&gt;
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PO),            &lt;BR /&gt;
//             SPACE=(CYL,(1,1,10)),UNIT=TEMPDISK                     &lt;BR /&gt;
//SYSIN     DD *                                                      &lt;BR /&gt;
./ ADD NAME=TESTREXX                                                  &lt;BR /&gt;
 /**********************REXX******/                                   &lt;BR /&gt;
  SAY ' IN REXX'                                                      &lt;BR /&gt;
  ADDRESS TSO "ALLOC DA('NW4G.TEST') NEW CATALOG",                    &lt;BR /&gt;
              "DSORG(PS)  RECFM(FB) LRECL(80) BLOCK SPACE(1,1) CYL"   &lt;BR /&gt;
  IF RC = 0 THEN                                                      &lt;BR /&gt;
    SAY 'ALLOC SUCCESSFUL"                                            &lt;BR /&gt;
  ELSE                                                                &lt;BR /&gt;
    SAY 'RC' RC                                                       &lt;BR /&gt;
./ ENDUP                                                              &lt;BR /&gt;
//STEP30   EXEC SAS                                                   &lt;BR /&gt;
//SYSOUT   DD SYSOUT=*                                                &lt;BR /&gt;
//SASREXX  DD DSN=&amp;amp;TEMP1,DISP=(OLD,DELETE,DELETE)                     &lt;BR /&gt;
//SYSIN DD *                                                          &lt;BR /&gt;
OPTIONS REXXMAC;                                                      &lt;BR /&gt;
TESTREXX;      &lt;BR /&gt;
&lt;BR /&gt;
Could you let me know what is the problem with this code? If REXX program gets executed then where can we see the output messages from REXX program. Also can't we execute a REXX program from a SAS DATA step?</description>
      <pubDate>Mon, 25 Jan 2010 10:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46208#M9553</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-01-25T10:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS interfcae to REXX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46209#M9554</link>
      <description>Do you also need REXXLOC=ddname SAS system option?&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/mvs-sysops-rexxloc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/mvs-sysops-rexxloc.htm&lt;/A&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Never mind I see that REXXMAC is the default.  &lt;BR /&gt;
&lt;BR /&gt;
So the question is does you REXXMAC DD point to the same maclib you create in the IEBUPDTE step?

Message was edited by: data _null_;</description>
      <pubDate>Mon, 25 Jan 2010 12:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46209#M9554</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-01-25T12:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS interfcae to REXX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46210#M9555</link>
      <description>Without learning your exact batch job error, I would say that the correct JCL DD DISP= for your "temporary PDS library" is:&lt;BR /&gt;
&lt;BR /&gt;
DISP=(NEW,PASS)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 25 Jan 2010 16:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46210#M9555</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-25T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS interfcae to REXX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46211#M9556</link>
      <description>After I changed the DISP of temp PDS library to DISP=(NEW,PASS), the REXX program got executed. I have verified this by adding the SASLOG statement in REXX (&lt;B&gt;ADDRESS SAS  "++SASLOG Control is IN REXX pgm"    &lt;/B&gt;).&lt;BR /&gt;
&lt;BR /&gt;
In the output report FT11F001 (is it SASLOG??), output "Control is IN REXX pgm" was shown. However, no statements got executed after this (ADDRESS TSO, IF statements). No output was shown regarding dataset allocation. Is there any problem with subcommand environment? Thank you for helping out.&lt;BR /&gt;
&lt;BR /&gt;
//REXXSTEP EXEC PGM=IEBUPDTE,REGION=1024K,                             &lt;BR /&gt;
//             PARM='NEW'                                              &lt;BR /&gt;
//SYSPRINT  DD SYSOUT=*                                                &lt;BR /&gt;
//SYSUT2    DD DSN=&amp;amp;TEMP1,                                             &lt;BR /&gt;
//             DISP=(NEW,PASS,DELETE),                                 &lt;BR /&gt;
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0,DSORG=PO),             &lt;BR /&gt;
//             SPACE=(CYL,(1,1,10)),UNIT=TEMPDISK                      &lt;BR /&gt;
//SYSIN     DD *                                                       &lt;BR /&gt;
./ ADD NAME=TESTREXX                                                   &lt;BR /&gt;
 /**********************REXX******/                                    &lt;BR /&gt;
  &lt;B&gt;ADDRESS SAS  "++SASLOG IN REXX"    &lt;/B&gt;                                  &lt;BR /&gt;
  ADDRESS TSO "ALLOC DA('NW4G.TEST') NEW CATALOG",                     &lt;BR /&gt;
              "DSORG(PS)  RECFM(FB) LRECL(80) BLOCK SPACE(1,1) CYL"    &lt;BR /&gt;
  IF RC = 0 THEN                                                       &lt;BR /&gt;
    ADDRESS SAS  "++SASLOG ALLOC SUCCESSFUL"                           &lt;BR /&gt;
  ELSE                                                                 &lt;BR /&gt;
    ADDRESS SAS  "++SASLOG ALLOC UNSUCCESSFUL" RC                      &lt;BR /&gt;
./ ENDUP                                                               &lt;BR /&gt;
//STEP30   EXEC SAS                                                    &lt;BR /&gt;
//SYSOUT   DD SYSOUT=*                                                 &lt;BR /&gt;
//SASREXX  DD DSN=&amp;amp;TEMP1,DISP=(OLD,DELETE,DELETE)                      &lt;BR /&gt;
//SYSIN DD *                                                           &lt;BR /&gt;
OPTIONS REXXMAC ;                                                      &lt;BR /&gt;
TESTREXX;</description>
      <pubDate>Wed, 27 Jan 2010 04:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46211#M9556</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-01-27T04:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS interfcae to REXX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46212#M9557</link>
      <description>You will need to debug your SAS execution further by changing to different code in order to assess the expected or unexpected behavior or contact SAS support to open a track and share all output with them.  Suggest you inspect all job output closely for any suspicious diagnostic messages.&lt;BR /&gt;
&lt;BR /&gt;
Also, you mentioned FT11F001 - that SAS log output destination went away with SAS version 6 (normally), unless your site still has CONFIG options overridden.&lt;BR /&gt;
What is your SAS version? Still you will need to do your own debugging here or contact SAS support.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Wed, 27 Jan 2010 14:38:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-interfcae-to-REXX/m-p/46212#M9557</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-27T14:38:15Z</dc:date>
    </item>
  </channel>
</rss>

