<?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 Question on prompts in SAS EG 4.3 when grid enabled in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Question-on-prompts-in-SAS-EG-4-3-when-grid-enabled/m-p/72006#M7165</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I was trying to use the prompts while running a code which was "grid enabled".&lt;BR /&gt;
&lt;BR /&gt;
When I say Grid enabled, that means that I have enabled "Insert Custom SAS code before submitted Code" and added the below code.&lt;BR /&gt;
&lt;BR /&gt;
options metaserver='metadata-server-address';&lt;BR /&gt;
options metaport=metadata-server-port;;&lt;BR /&gt;
%let rc=%sysfunc(grdsvc_enable(_all_,resource=SASApp));&lt;BR /&gt;
signon task1;&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
&lt;BR /&gt;
And also added a custom code to be run after the sumbitted the code as given below:&lt;BR /&gt;
&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
signoff;&lt;BR /&gt;
&lt;BR /&gt;
The problem that i'm encounteriing while running the codes with prompts, is that the macro variable that gets assigned in the beginning of the code (eg: %LET name = Mary;) at the EG end, would not get carried to the server where the actual code gets run in the grid enviroinment. &lt;BR /&gt;
&lt;BR /&gt;
So my code doesn't have a value for the macro variable name and throws up the error saying:&lt;BR /&gt;
WARNING: Apparent symbolic reference NAME not resolved.&lt;BR /&gt;
&lt;BR /&gt;
This however runs fine when I'm running the code without the grid enablement.&lt;BR /&gt;
&lt;BR /&gt;
Hope my question is clear.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in Advance&lt;BR /&gt;
Pramod</description>
    <pubDate>Thu, 02 Jun 2011 11:18:04 GMT</pubDate>
    <dc:creator>Pramod_R</dc:creator>
    <dc:date>2011-06-02T11:18:04Z</dc:date>
    <item>
      <title>Question on prompts in SAS EG 4.3 when grid enabled</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Question-on-prompts-in-SAS-EG-4-3-when-grid-enabled/m-p/72006#M7165</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I was trying to use the prompts while running a code which was "grid enabled".&lt;BR /&gt;
&lt;BR /&gt;
When I say Grid enabled, that means that I have enabled "Insert Custom SAS code before submitted Code" and added the below code.&lt;BR /&gt;
&lt;BR /&gt;
options metaserver='metadata-server-address';&lt;BR /&gt;
options metaport=metadata-server-port;;&lt;BR /&gt;
%let rc=%sysfunc(grdsvc_enable(_all_,resource=SASApp));&lt;BR /&gt;
signon task1;&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
&lt;BR /&gt;
And also added a custom code to be run after the sumbitted the code as given below:&lt;BR /&gt;
&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
signoff;&lt;BR /&gt;
&lt;BR /&gt;
The problem that i'm encounteriing while running the codes with prompts, is that the macro variable that gets assigned in the beginning of the code (eg: %LET name = Mary;) at the EG end, would not get carried to the server where the actual code gets run in the grid enviroinment. &lt;BR /&gt;
&lt;BR /&gt;
So my code doesn't have a value for the macro variable name and throws up the error saying:&lt;BR /&gt;
WARNING: Apparent symbolic reference NAME not resolved.&lt;BR /&gt;
&lt;BR /&gt;
This however runs fine when I'm running the code without the grid enablement.&lt;BR /&gt;
&lt;BR /&gt;
Hope my question is clear.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in Advance&lt;BR /&gt;
Pramod</description>
      <pubDate>Thu, 02 Jun 2011 11:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Question-on-prompts-in-SAS-EG-4-3-when-grid-enabled/m-p/72006#M7165</guid>
      <dc:creator>Pramod_R</dc:creator>
      <dc:date>2011-06-02T11:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question on prompts in SAS EG 4.3 when grid enabled</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Question-on-prompts-in-SAS-EG-4-3-when-grid-enabled/m-p/72007#M7166</link>
      <description>Hi Pramod,&lt;BR /&gt;
&lt;BR /&gt;
You need to send the macros to your Grid session using a %syslput of the macro var after your signon....&lt;BR /&gt;
&lt;BR /&gt;
If this is from EG, the pre/post code should have statements to send all your macro vars to the Grid session.&lt;BR /&gt;
&lt;BR /&gt;
Cheers.

Message was edited by: mgst170</description>
      <pubDate>Thu, 02 Jun 2011 11:29:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Question-on-prompts-in-SAS-EG-4-3-when-grid-enabled/m-p/72007#M7166</guid>
      <dc:creator>mgst170</dc:creator>
      <dc:date>2011-06-02T11:29:00Z</dc:date>
    </item>
  </channel>
</rss>

