Desktop productivity for business analysts and programmers

%WINDOW statement alternative in SAS/EG

Reply
New Contributor
Posts: 2

%WINDOW statement alternative in SAS/EG

Hi there.

 

We are currently migration from PC/SAS to SAS/EG V7.1 and have faced a problem in respect to supporting existing usage in autoexec's.

 

Today user are prompted to rung in DEV, TEST or PROD through %WINDOW statements in order to set up right pointers to e.g. ExaData.

 

%WINDOW is not supported in SAS/EG, so we have been looking into prompts. But prompts are used in specific projects and not as part of a startup. The prompt can be excuted by opening of a project with a prompt in it, but it has to be triggered.

 

So what we are looking for is a way to excute a prompt in "batch", so to include the code/funktionality in an "normal" autoexec as part of the EG initialization.

 

Has anyone solved this I'm very interested to hear how this was accomplished.

 

Cheers, Lars

 

Super User
Super User
Posts: 9,855

Re: %WINDOW statement alternative in SAS/EG

Why not just have a "Startup" project which gets loaded first, does all the prompts, then loads the appropriate project?  I haven't used EG for years, but that would seem logical to me.

New Contributor
Posts: 2

Re: %WINDOW statement alternative in SAS/EG

Well that woul be a valid solution, but as I'm aware of you are not able to specify an EG project that has to be executed as part of the startup.

 

You are able to specify SAS statements as part of the startup/initialization, but i need to fire up an EG project not just ordinary SAS statements.

 

Cheers, Lars

Super User
Posts: 24,026

Re: %WINDOW statement alternative in SAS/EG

In our installation, we had multiple profiles for each system and when we logged in it made us select the desired profile each time. 

 


Rishoej wrote:

Well that woul be a valid solution, but as I'm aware of you are not able to specify an EG project that has to be executed as part of the startup.

 

You are able to specify SAS statements as part of the startup/initialization, but i need to fire up an EG project not just ordinary SAS statements.

 

Cheers, Lars


 

SAS Super FREQ
Posts: 402

Re: %WINDOW statement alternative in SAS/EG

If you haven't already seen, checkout Chris' blog post on autoexec options in EG:

https://blogs.sas.com/content/sgf/2014/05/01/autoexecs-the-sas-enterprise-guide-advantage/

Ask a Question
Discussion stats
  • 4 replies
  • 225 views
  • 0 likes
  • 4 in conversation