<?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 Export Submitted Code from EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6379#M2053</link>
    <description>Hello,&lt;BR /&gt;
I want to export a submitted code from EG to a sas file. There is no porblem doing that. But when I perform a windows batch submit on that particular file I get a error message: Apparent invocation of macro _EG_CONDITIONAL_DROPDS not resolved.&lt;BR /&gt;
&lt;BR /&gt;
What is the problem, I cannot understand???!&lt;BR /&gt;
&lt;BR /&gt;
Is there any other way to run egp-file with batch submit?

Message was edited by: Nidhi</description>
    <pubDate>Tue, 15 Jan 2008 12:07:34 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-01-15T12:07:34Z</dc:date>
    <item>
      <title>Export Submitted Code from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6379#M2053</link>
      <description>Hello,&lt;BR /&gt;
I want to export a submitted code from EG to a sas file. There is no porblem doing that. But when I perform a windows batch submit on that particular file I get a error message: Apparent invocation of macro _EG_CONDITIONAL_DROPDS not resolved.&lt;BR /&gt;
&lt;BR /&gt;
What is the problem, I cannot understand???!&lt;BR /&gt;
&lt;BR /&gt;
Is there any other way to run egp-file with batch submit?

Message was edited by: Nidhi</description>
      <pubDate>Tue, 15 Jan 2008 12:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6379#M2053</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-15T12:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export Submitted Code from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6380#M2054</link>
      <description>Code generated by EG relies on a few SAS macros that EG submits on your behalf.&lt;BR /&gt;
&lt;BR /&gt;
If you use File-&amp;gt;Export All Code to export the code, the result should include the necessary macro definitions so that you can run the code in another environment.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Tue, 15 Jan 2008 23:33:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6380#M2054</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2008-01-15T23:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Export Submitted Code from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6381#M2055</link>
      <description>Chris&lt;BR /&gt;
&lt;BR /&gt;
would a satisfactory alternative be to add the E.G. macros to the sasautos environment where the batch executes? &lt;BR /&gt;
Something like [pre]filename EGmacros 'path to the EG macros' ;&lt;BR /&gt;
option %addoptn( sasautos, EGmacros );[/pre] (macro addoptn is defined in Sample 24841 at &lt;A href="http://support.sas.com/kb/24/841.html)" target="_blank"&gt;http://support.sas.com/kb/24/841.html)&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
This could appear at the top of deployed code, in an autoexec or be replaced by a user/batch config extra like [pre]&lt;BR /&gt;
-set egmacros "path to the EG macros"&lt;BR /&gt;
-append sasautos egmacros [/pre]&lt;BR /&gt;
or is this what "Export All Code" implements?&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Wed, 16 Jan 2008 11:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6381#M2055</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-16T11:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export Submitted Code from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6382#M2056</link>
      <description>I am about to raise this as a Tech Support track, and I am sharing this knowledge here as a caution to anyone who does use the "Export All code" option in Enterprise Guide.&lt;BR /&gt;
&lt;BR /&gt;
When you have exported all code, go back and make sure you have indeed got everything within each code object.  We have a case where an Import, a data step and a macro definition were lost from the head of a code node when it was exported.&lt;BR /&gt;
&lt;BR /&gt;
I did see this original problem in the Tech Support notes (16135, identified 3.0, fixed 4.1).  Well done with the fix.  I did not find anything else suggesting incomplete exports may occur.&lt;BR /&gt;
&lt;BR /&gt;
I'll share the result from Tech Support here when it is resolved.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 17 Jan 2008 01:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6382#M2056</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-17T01:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export Submitted Code from EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6383#M2057</link>
      <description>Tech Support were able to replicate our problem here and in the States.  I don't have any specific information on the probable cause, although we had a suspicion that large and nested comment blocks may have had a part to play.&lt;BR /&gt;
&lt;BR /&gt;
The response I received was: "We don't expect a hot fix for this since it is a very unique problem.  You will have to use copy-paste if you continue to see the problem with other projects.  The problem was also present in 4.2 of Enterprise Guide.  Sorry the news is not better."&lt;BR /&gt;
&lt;BR /&gt;
A colleague also had an issue where a multi step project exported code in the wrong order, which meant an intermediate step was missing when some analysis was called for.&lt;BR /&gt;
&lt;BR /&gt;
Note too that import / export from PC File Formats (especially Excel) use the Microsoft Jet engine and are defined with a descriptor block that doesn't function outside of an Enterprise Guide project.  This may mean an important part of the project is also missing from the export.&lt;BR /&gt;
&lt;BR /&gt;
Our recommendation is that if you use the code export functionality, then check for completeness and sequencing carefully.  Our preference though is to use copy / paste, which can be just a few steps if the majority of the code is migrated using the export facility and then checked.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Mon, 18 Feb 2008 23:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Export-Submitted-Code-from-EG/m-p/6383#M2057</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-02-18T23:41:22Z</dc:date>
    </item>
  </channel>
</rss>

