<?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: strange %SYSLPUT warning in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127258#M25954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps related to "asynchronous" remote session management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And possibly not.&lt;/P&gt;&lt;P&gt;I think you'll solve the problem by removing the SIGNON into a preliminary loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterthought addeded by: Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 21:28:18 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2013-07-05T21:28:18Z</dc:date>
    <item>
      <title>strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127253#M25949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my macro in SAS 9.3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%LET GERC=%SYSFUNC( GrdSvc_Enable(_all_,resource=&amp;amp;SASAppSvr.));&lt;/P&gt;&lt;P&gt;%PUT GERC=&amp;amp;GERC.;&lt;/P&gt;&lt;P&gt;OPTIONS noSYMBOLGEN signonwait noMPRINT noMLOGIC NOTES COMPRESS=NO NOFULLSTIMER NOERRORABEND noMFILE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIBNAME dissert "*\DATA\";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO gridsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%LET tnum=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC PRINTTO LOG="*\LOGS\grid_enable.log" NEW;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%DO start=1 %TO 981 %BY 20;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIGNON task&amp;amp;tnum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SYSLPUT start=&amp;amp;start;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SYSLPUT tnum=&amp;amp;tnum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RSUBMIT task&amp;amp;tnum WAIT=NO PERSIST=NO;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %PUT Session started on grid node %sysfunc( grdsvc_getname( task&amp;amp;tnum));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS noSYMBOLGEN noMPRINT noMLOGIC noNOTES COMPRESS=NO NOFULLSTIMER noERRORABEND noMFILE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIBNAME dissert "*\DATA\";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIBNAME simulate "*\DATA\simulated\";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "*\mod_defs ND v21.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "*\optimization ND v21.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "*\M_step ND v17.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "*\macro simulation wl v2.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "*\hazard.sas";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %simulations (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; numsims=20,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; startwhere=&amp;amp;start,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; results=dissert.output&amp;amp;tnum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; K=3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P=2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dset1=simulate.testlong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dset2=simulate.testwide,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num_nodes=12,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; convcrit=1E-4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; varcrit=1E-15,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shft=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; limit=4500,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; limit2=200,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; non=1 1 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg=1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDRSUBMIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET tnum=%EVAL(&amp;amp;tnum+1);&lt;/P&gt;&lt;P&gt;%END;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAITFOR _ALL_ %DO tnum=1 %TO 50; task&amp;amp;tnum %END; ;&lt;/P&gt;&lt;P&gt;SIGNOFF _ALL_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dissert.output;&lt;/P&gt;&lt;P&gt;set %DO tnum=1 %TO 50; dissert.output&amp;amp;tnum %END;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND gridsubmit;&lt;/P&gt;&lt;P&gt;%gridsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%*LET num=%sysfunc(grdsvc_nnodes(server=&amp;amp;SASAppSvr)); %PUT &amp;amp;num;&lt;/P&gt;&lt;P&gt;%*LET rc=%sysfunc(grdsvc_getinfo(_ALL_)); %PUT &amp;amp;rc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running I get connection to the first task then every task thereafter I get the same warning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Remote signon to TASK1 complete.&lt;/P&gt;&lt;P&gt;NOTE: Background remote submit to TASK1 in progress.&lt;/P&gt;&lt;P&gt;NOTE: Remote submit to TASK1 commencing.&lt;/P&gt;&lt;P&gt;Session started on grid node *&lt;/P&gt;&lt;P&gt;ERROR: A link to TASK2 does not exist; execute SIGNON to establish the link.&lt;/P&gt;&lt;P&gt;Session started on grid node&lt;/P&gt;&lt;P&gt;WARNING: The value for variable START has been overridden due to interleaving SYSLPUT with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asynchronous remote processing.&lt;/P&gt;&lt;P&gt;WARNING: The value for variable TNUM has been overridden due to interleaving SYSLPUT with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asynchronous remote processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 22:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127253#M25949</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-04T22:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127254#M25950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try telling it which session to put the variables into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SIGNON task&amp;amp;tnum;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SYSLPUT start=&amp;amp;start /remote=&lt;SPAN style="background-color: #ffffff;"&gt;task&amp;amp;tnum;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SYSLPUT tnum=&amp;amp;tnum /remote=&lt;SPAN style="background-color: #ffffff;"&gt;task&amp;amp;tnum&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 22:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127254#M25950</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-04T22:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127255#M25951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you use the REMOTE = option on SYSLPUT as explained here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/40/924.html"&gt;http://support.sas.com/kb/40/924.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 22:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127255#M25951</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-07-04T22:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127256#M25952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that solved the warning but not the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: A link must be established by executing the SIGNON command before you can communicate with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TASK2.&lt;/P&gt;&lt;P&gt;ERROR: A link must be established by executing the SIGNON command before you can communicate with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TASK2.&lt;/P&gt;&lt;P&gt;ERROR: A link to TASK2 does not exist; execute SIGNON to establish the link.&lt;/P&gt;&lt;P&gt;Session started on grid node&lt;/P&gt;&lt;P&gt;ERROR: A link must be established by executing the SIGNON command before you can communicate with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TASK3.&lt;/P&gt;&lt;P&gt;ERROR: A link must be established by executing the SIGNON command before you can communicate with &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TASK3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 12:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127256#M25952</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-05T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127257#M25953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like your SIGNON is not finishing before your %SYSLPUT is running?&lt;/P&gt;&lt;P&gt;Another thing that I have had to use is to revert to using the old SAS 6.12 style macro for pushing macro values into the remote session.&lt;/P&gt;&lt;P&gt;Here is a %MSYSLPUT() macro to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%macro msyslput&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/*----------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Send value to remote macro variable while running inside a local macro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----------------------------------------------------------------------*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(macvar&amp;nbsp;&amp;nbsp; /* Name of remote macro variable to set */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,macval&amp;nbsp;&amp;nbsp; /* Value to assign to remote macro variable */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,remote&amp;nbsp;&amp;nbsp; /* (Optional) Name of remote session to send to */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/*----------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;When trying to set remote macro variables within a local macro execution&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SAS can get confused with timing and execution.&amp;nbsp; Reverting to using this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;older method fixes that issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Based on SAS 6.12 autocall macro SYSLPUT that existed before SAS added&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;the %SYSLPUT macro statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;----------------------------------------------------------------------*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%local str ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%let str=%str(rsubmit &amp;amp;remote;)%nrstr(%let) %str(&amp;amp;macvar = &amp;amp;macval;endrsubmit;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;amp;str.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%mend msyslput;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 15:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127257#M25953</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-05T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127258#M25954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps related to "asynchronous" remote session management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And possibly not.&lt;/P&gt;&lt;P&gt;I think you'll solve the problem by removing the SIGNON into a preliminary loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afterthought addeded by: Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 21:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127258#M25954</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-05T21:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127259#M25955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SIGNON loop worked for the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The /REMOTE option appeared to work but now the macro variables do not resolve so the RSUBMIT goes nowhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 22:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127259#M25955</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-05T22:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127260#M25956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to stop using %SYSLPUT statement and use the old %NRSTR() trick, either via a utility macro or just using you ow local macro variable.&lt;/P&gt;&lt;P&gt;See this thread from last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/thread/38251?start=0&amp;amp;tstart=0"&gt;https://communities.sas.com/thread/38251?start=0&amp;amp;tstart=0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 22:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127260#M25956</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-05T22:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127261#M25957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you include the syslput statements in the signon loop?&lt;/P&gt;&lt;P&gt;If so, you might need to add also a synchronous connect rsub to ensure that the macro values have landed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 22:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127261#M25957</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-05T22:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127262#M25958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no they are not in the loop.&amp;nbsp; I used the remote=option.&amp;nbsp; Now that you mention it, there is not /remote option for %SYSLPUT in 9.2.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 23:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127262#M25958</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-05T23:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127263#M25959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about the confusion, the remote server I'm using is 9.2 not 9.3.&amp;nbsp; Using lots of servers and different versions, got mixed up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 23:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127263#M25959</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-05T23:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127264#M25960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my current program.&amp;nbsp; Looks like the first RSUBMIT works fine but after that I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2940&amp;nbsp;&amp;nbsp; RSUBMIT task&amp;amp;loop WAIT=NO PERSIST=NO;&lt;/P&gt;&lt;P&gt;ERROR: Unrecognized option, &amp;amp;.&lt;/P&gt;&lt;P&gt;ERROR: Remote submit canceled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MACRO gridsubmit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%DO loop=1 %TO 41 %BY 20;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIGNON task&amp;amp;loop SIGNONWAIT=Y;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %SYSLPUT start=&amp;amp;loop;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%END;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%DO loop=1 %TO 41 %BY 20;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RSUBMIT task&amp;amp;loop WAIT=NO PERSIST=NO;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %NRSTR(%%)PUT Session started on grid node %sysfunc( grdsvc_getname( task&amp;amp;start));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS noSYMBOLGEN noMPRINT noMLOGIC noNOTES COMPRESS=NO NOFULLSTIMER noERRORABEND noMFILE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIBNAME dissert "\\\DATA\";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIBNAME simulate "\\\DATA\simulated\";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "\\\mod_defs ND v21.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "\\\optimization ND v21.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "\\\M_step ND v17.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "\\\macro simulation wl v2.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %INCLUDE "\\\hazard.sas";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %simulations (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; numsims=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; startwhere=&amp;amp;start,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; results=dissert.output&amp;amp;start,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; K=3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P=2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dset1=simulate.testlong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dset2=simulate.testwide,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num_nodes=12,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; convcrit=1E-4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; varcrit=1E-15,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shft=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; limit=4500,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; limit2=200,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; non=1 1 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg=1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDRSUBMIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;%END;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAITFOR _ALL_ %DO start=1 %TO 41 %BY 20; task&amp;amp;start %END; ;&lt;/P&gt;&lt;P&gt;SIGNOFF _ALL_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dissert.output;&lt;/P&gt;&lt;P&gt;set %DO start=1 %TO 41 %BY 20; dissert.output&amp;amp;start %END; ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND gridsubmit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 13:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127264#M25960</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-06T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127265#M25961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only the first Rsubmit runs.&amp;nbsp; Looks like I need to abandon this macro and explicitly call the 50 RSUBMITS.&amp;nbsp; Any suggestions on how to automate this process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 14:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127265#M25961</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-06T14:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127266#M25962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2940&amp;nbsp;&amp;nbsp; RSUBMIT task&amp;amp;loop WAIT=NO PERSIST=NO;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ERROR: Unrecognized option, &amp;amp;.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;This looks like a parser mistake.&amp;nbsp; Either create another macro variable to contain the value of the task name.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%let task=task&amp;amp;loop;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;rsubmit &amp;amp;task ... ;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Or use %UNQUOTE()&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;rsubmit %unquote(task&amp;amp;loop) ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 15:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127266#M25962</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-06T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127267#M25963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Skipping the rsubmit macro entirely, writing another macro with PUT statements to write the entire program with 50 rsubmits to another file.&amp;nbsp; Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 15:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127267#M25963</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-06T15:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127268#M25964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like your program is using a macro loop to run simulations. You might want to read this article on techniques for performing efficient simulations in SAS: &lt;A class="active_link" href="http://blogs.sas.com/content/iml/2012/07/18/simulation-in-sas-the-slow-way-or-the-by-way/" title="http://blogs.sas.com/content/iml/2012/07/18/simulation-in-sas-the-slow-way-or-the-by-way/"&gt;Simulation in SAS&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 14:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127268#M25964</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2013-07-12T14:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: strange %SYSLPUT warning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127269#M25965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish I could use BY processing.&amp;nbsp; However, the EM algorithm is iterative and switches between PROC IML and many datastep.&amp;nbsp; Each simulation requires a different number of iterations.&amp;nbsp; I'm not using any PROCs that utilize BY processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 14:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/strange-SYSLPUT-warning/m-p/127269#M25965</guid>
      <dc:creator>derrick</dc:creator>
      <dc:date>2013-07-12T14:50:07Z</dc:date>
    </item>
  </channel>
</rss>

