Desktop productivity for business analysts and programmers

Global setting for 'Submit Code When Server Is Connected'

Reply
Contributor
Posts: 21

Global setting for 'Submit Code When Server Is Connected'

Hi,

Is it true that when inserting code in the 'Submit Code When Server Is Connected' option, it is global and that it can not be changed for different project files?

Thanks,
Sunil Gupta
Gupta Programming
Trusted Advisor
Posts: 2,114

Re: Global setting for 'Submit Code When Server Is Connected'

correct. However, you can use the autoexec Process Flow to set up project specific code to run at startup for a project. See the SAS Dummy blog:

http://blogs.sas.com/sasdummy/index.php?/archives/237-You-asked-for-it-the-Autoexec-process-flow.htm...

It's almost as flexible as the autoexec.bat in batch SAS. I like it.

Doc
Contributor
Posts: 21

Re: Global setting for 'Submit Code When Server Is Connected'

Thanks for the tip. Did not realize this was an option.

Just want to confirm my understanding. This is not exactly like the 'Submit Code before running' option, but a way to create a new project file for autoexec contents such as code, tasks, etc? Once created, how do I point to this autoexec process flow in a new project file. If I already have a setup sas program, then I can point to this file directly without having to create an autoexec process flow file. Thanks for your help to fill in the gap.

Thanks,
Sunil
Trusted Advisor
Posts: 2,114

Re: Global setting for 'Submit Code When Server Is Connected'

Sunil,

You need to read the blog entry more carefully. Most of your questions are answered in this paragraph from it:

"SAS Enterprise Guide 4.3 adds this support, and it's easy to use. Simply add a new process flow to your project (File->New->Process Flow) and name it "Autoexec". You can put anything that you want in this process flow: a program with library assignments or macro definitions, one or more "Assign Library" tasks, Upload or Download data set tasks, even custom tasks. The Autoexec process flow helps you to get everything ready for you to work with your project. "

Each .egp file (aka EGuide Project) needs it's own autoexec process flow, but it can be included code from somewhere else.
Ask a Question
Discussion stats
  • 3 replies
  • 149 views
  • 0 likes
  • 2 in conversation