<?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 [SEG 2.1] Problem with format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3766#M1213</link>
    <description>Hi all&lt;BR /&gt;
&lt;BR /&gt;
I have SEG 2.1 on my Windows 2000 and SAS 9.1.3 on a UNIX server.&lt;BR /&gt;
We have 4 users working on same data with same macros and one file format.sas which contains all our formats. &lt;BR /&gt;
We have a lot of trouble with the formats. Either the format is not used in our programs, or bad formats names are used.&lt;BR /&gt;
&lt;BR /&gt;
Below is a part of the file SEGautostart.sas. This is a file automatically launched at SEG start :&lt;BR /&gt;
%let formlib        =&amp;amp;root/saslib/format/saseg;&lt;BR /&gt;
libname formlib "/project/poolrecht/pks/saslib/format/saseg";&lt;BR /&gt;
libname sasprog "/project/poolrecht/pks/sasprog";&lt;BR /&gt;
options fmtsearch=(formlib, saslib, library);&lt;BR /&gt;
options gwindow linesize=88 ps=57 MAUTOSOURCE SASAUTOS=(sasautos, "/project/poolrecht/pks/sasprog");&lt;BR /&gt;
%include '/project/poolrecht/pks/sasprog/formate.sas';&lt;BR /&gt;
&lt;BR /&gt;
Is there a problem ? The formats are recreated each time a new instance of SEG is started...&lt;BR /&gt;
&lt;BR /&gt;
Any clue ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
Christophe Paratte&lt;BR /&gt;
&lt;A href="http://www.paratte.net" target="_blank"&gt;www.paratte.net&lt;/A&gt;</description>
    <pubDate>Tue, 10 Jul 2007 15:04:08 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-07-10T15:04:08Z</dc:date>
    <item>
      <title>[SEG 2.1] Problem with format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3766#M1213</link>
      <description>Hi all&lt;BR /&gt;
&lt;BR /&gt;
I have SEG 2.1 on my Windows 2000 and SAS 9.1.3 on a UNIX server.&lt;BR /&gt;
We have 4 users working on same data with same macros and one file format.sas which contains all our formats. &lt;BR /&gt;
We have a lot of trouble with the formats. Either the format is not used in our programs, or bad formats names are used.&lt;BR /&gt;
&lt;BR /&gt;
Below is a part of the file SEGautostart.sas. This is a file automatically launched at SEG start :&lt;BR /&gt;
%let formlib        =&amp;amp;root/saslib/format/saseg;&lt;BR /&gt;
libname formlib "/project/poolrecht/pks/saslib/format/saseg";&lt;BR /&gt;
libname sasprog "/project/poolrecht/pks/sasprog";&lt;BR /&gt;
options fmtsearch=(formlib, saslib, library);&lt;BR /&gt;
options gwindow linesize=88 ps=57 MAUTOSOURCE SASAUTOS=(sasautos, "/project/poolrecht/pks/sasprog");&lt;BR /&gt;
%include '/project/poolrecht/pks/sasprog/formate.sas';&lt;BR /&gt;
&lt;BR /&gt;
Is there a problem ? The formats are recreated each time a new instance of SEG is started...&lt;BR /&gt;
&lt;BR /&gt;
Any clue ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
Christophe Paratte&lt;BR /&gt;
&lt;A href="http://www.paratte.net" target="_blank"&gt;www.paratte.net&lt;/A&gt;</description>
      <pubDate>Tue, 10 Jul 2007 15:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3766#M1213</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-10T15:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: [SEG 2.1] Problem with format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3767#M1214</link>
      <description>I was wondering about this statement :&lt;BR /&gt;
&lt;BR /&gt;
%include '/project/poolrecht/pks/sasprog/formate.sas';&lt;BR /&gt;
&lt;BR /&gt;
Is it the "format.sas" that you mentionned to contain the entire Proc Format definition ? If so, your %include statement DOES recreate formats catalog each and every time EG is launched.&lt;BR /&gt;
Assuming I am not misunderstanding your needs neither your environment, maybe you'd better :&lt;BR /&gt;
1) execute ONCE the whole Proc Format thing in an EG session, checking that &lt;BR /&gt;
PROC FORMAT LIB = formlib ;&lt;BR /&gt;
for the formats to be stored in a permanent catalog at the right place.&lt;BR /&gt;
&lt;BR /&gt;
2) comment out the %include statement, and stick to the &lt;BR /&gt;
OPTIONS FMTSEARCH = (formlib saslib library work) ;&lt;BR /&gt;
statement to do the fiding formats job. I suggest you add the Work library to the Fmtsearch list for users to create and use temporary formats in addition to "regular" ones.&lt;BR /&gt;
&lt;BR /&gt;
Does this help you in any way ?</description>
      <pubDate>Wed, 11 Jul 2007 09:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3767#M1214</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-07-11T09:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: [SEG 2.1] Problem with format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3768#M1215</link>
      <description>In addition to Olivier's suggestions, I am wondering about the %let statement for formlib with &amp;amp;root. Where do you subsequently use &amp;amp;formlib???? It is NOT in the libname statement for formlib library reference in your example.&lt;BR /&gt;
  &lt;BR /&gt;
I would usually expect to see this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
%let formlib =&amp;amp;root/saslib/format/saseg;&lt;BR /&gt;
libname formlib "&amp;amp;formlib";&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
...assuming that &amp;amp;root was set in the config file or was an environment variable that was already set.&lt;BR /&gt;
  &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 11 Jul 2007 11:42:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3768#M1215</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-07-11T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: [SEG 2.1] Problem with format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3769#M1216</link>
      <description>Thank you Olivier !&lt;BR /&gt;
&lt;BR /&gt;
I commented out this line (%include...) and it seems to work better.&lt;BR /&gt;
&lt;BR /&gt;
Christophe Paratte</description>
      <pubDate>Fri, 13 Jul 2007 07:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3769#M1216</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-13T07:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: [SEG 2.1] Problem with format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3770#M1217</link>
      <description>Thank you Cynthia !&lt;BR /&gt;
&lt;BR /&gt;
Yes I know &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I am using a file I did not create and I am new to SAS. &lt;BR /&gt;
I will make some cleaning !&lt;BR /&gt;
&lt;BR /&gt;
Christophe Paratte</description>
      <pubDate>Fri, 13 Jul 2007 07:12:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SEG-2-1-Problem-with-format/m-p/3770#M1217</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-13T07:12:47Z</dc:date>
    </item>
  </channel>
</rss>

