[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    Re: Bug in Enterprise Guide 'proc catalog'
From:       Peter Crawford <Peter.Crawford () BLUEYONDER ! CO ! UK>
Date:       2014-01-28 18:03:55
Message-ID: 201401281803.s0SHnfUL026653 () willow ! cc ! uga ! edu
[Download RAW message or body]

Roger

sounds like you want to find the EG execution option to start a fresh SAS
server session for executing your SAS code - as and when you want this grand
cleanup.
Hopefully it won't need any server-side action.

good luck
Peter


On Tue, 28 Jan 2014 12:33:45 -0500, Roger DeAngelis
<rogerjdeangelis@GMAIL.COM> wrote:

>Hi All
>
>   Thanks Peter, that is interesting.
>
>   In the old text editor I would type 'dir work' and I could see SASMACR1,
>but with the requirement of piping unix commmands I can't do that. Reminds
>me of the old days when I would run my punch cards through the card reader
>and walk over to the printer to see my output.
>
>   I have a macro that I often run at the top of my programs, it is called
>freshstart and it wipes out sasmacr, work library, user varables, resets
>options and reruns autoexec. The only thing it can't do is restore a
>corrupted sasuser.profile, which seems to be more common recently.
>
>   Freshstart is important because the interactive session accumulates
>macros and macro variables, especially with a long running interactive
>session. I don't think this is possible with EG, because of all the
>'usermods' that appear to be needed for EG. Also watch out for SASMACR and
>global macro variable creep, more complexity is not always better.
>
>I don't know if it is me or EG, but EG does not seem to easily recognize a
>new macro loaded into the SASAUTOS folder durring an EG session. I have to
>compile the macro for EG to recognize it.
>Even when mrecall is on.
>
>Things are even more strange when running true batch from EG. It is also
>strange that I have EG local server(windows) and EG remote server(unix) in
>the server list, but they cannot communcate with each other. I also have
>full virtual windows on the box that invkes EG and it can't communicate
>with EG(windows server or unix server) directly.
>
>
>
>On Tue, Jan 28, 2014 at 10:21 AM, Peter Crawford <
>Peter.Crawford@blueyonder.co.uk> wrote:
>
>> worked in my SAS EG and produced the list (see below)
>>
>> On Mon, 27 Jan 2014 19:55:40 -0500, Roger DeAngelis
>> <rogerjdeangelis@GMAIL.COM> wrote:
>>
>> >Hi All,
>> >
>> >The code below works perfectly in full SAS but
>> >fails in Enterprise Guide
>> >
>> >
>> >%macro ego_avg(var=weight);
>> >
>> >   data class;
>> >     set sashelp.class;
>> >   run;quit;
>> >
>> >   proc means data=class;
>> >   class sex;
>> >   var &var;
>> >   run;quit;
>> >
>> >%mend ego_avg;
>> >
>> >proc catalog cat=work.sasmacr;
>> >contents;
>> >run;quit;
>> >
>> >***************************************************************
>> >CORRECT RESULTS WHEN RUN IN FULL SAS
>> >
>> >The SAS System
>> >
>> >     Contents of Catalog WORK.SASMACR
>> >
>> >#    Name       Type   Create DateModified Date    Description
>> >
>> >1    EGO_AVG    MACRO    27Jan14:19:49:39       27Jan14:19:49:39
>> >
>> >****************************************************************
>> >
>> >WHEN RUN IN EG I GET THIS ERROR
>> >
>> >ERROR: Catalog WORK.SASMACR does not exist.
>> >WARNING: Command CONTENTS not processed because of errors noted above.
>> >36       !     quit;
>>
>>
>> this was the results from running Roger's code in my SASEG6.1
>> clearly it is invoking a lot of macros so something might have been
"fixed"
>>
>>                 Contents of Catalog WORK.SASMACR
>> #  Name                       Type  Create Date      Modified Date
>> 1  CHECKFMT                   MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 2  ECLIBASSIGN                MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 3  ECLIBUNASSIGN              MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 4  EGO_AVG                    MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 5  ENTERPRISEGUIDE            MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 6  EXTENDVALIDMEMNAME         MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 7  TRIM                       MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 8  _EG_CONDITIONAL_DROPDS     MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 9  _EG_ENSUREHTMLBLUEEXISTS   MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 10 _EG_HIDENOTESANDSOURCE     MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 11 _EG_RESTORENOTESANDSOURCE  MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 12 _EG_WHEREPARAM             MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 13 _SAS_POPCHARTSIZE          MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 14 _SAS_PUSHCHARTSIZE         MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 15 _SAS_VERCOMP               MACRO 28/01/2014 15:06 28/01/2014 15:06
>> 16 _SAS_VERCONDCODE           MACRO 28/01/2014 15:06 28/01/2014 15:06
>>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic