Re: Enterprise guide 3 - process flows
Thanks guys, seems maybe I didn't phrase my question clearly enough - I know
how to add code to the project, but my problem is linking it to its inputs.
For example, if my code copies work.tmp to work.tmp2, then I'd like to see
an arrow from work.tmp into my code as well as the one from my code to
work.tmp2. That way I could make the code part of an existing process flow
and run the whole flow with the 'right click/run process flow from here'
command. As it is, there's a break in the flow just before my code, so I
have to run the flow in two parts.
Hope that's a bit clearer, and I'm looking forward to hearing what tech
support have to say (thanks Ron),
This is in the EG help:
Working with Code
Adding code to a project
You can add existing code to your SAS Enterprise Guide project in several
ways. You can drag the files from the Server List window or from Windows
Explorer, or you can use the pull-down menus.
When you insert existing code as an item in your project, the item remains
linked to your original code file. Any changes that you make to the code in
your project will be applied to the original code file. You can use the Code
Properties window to embed the code in your project so that your changes are
not applied to the original code file.
When you add code, it is automatically added to your open project. If you do
not have a project open, a new one is created for you. After you have added
the file, SAS Enterprise Guide automatically opens it.
To use the pull-down menu
Select File Open, and then select the location where the code resides. You
can select the location as follows:
From My Computer To open code that resides on your local network. Select the
code that you want to add and click Open or double-click the filename.
From SAS Server/Binder To open code that resides on a SAS server or in a
binder. Binders are virtual folders that can be mapped to folders or
directories on a server or to folders in your Windows native file system.
Binders can contain SAS Enterprise Guide projects, code files, SAS data
files, and other types of data files. Select the code that you want to add
and click Open or double-click the filename.
You can also add code to a project by clicking in the Standard toolbar and
then selecting the location where the code resides.
To drag and drop files
If you are dragging files from Windows Explorer to SAS Enterprise Guide,
position the Explorer window so that you can see both it and the Project
window in SAS Enterprise Guide. Both of these must be visible before you can
drag files between them.
Use the left mouse button to drag the file from the Explorer or the Server
List window into the Project pane in SAS Enterprise Guide. The mouse pointer
changes to indicate where you can drop the file.
You can also double-click a file in the Server List window to add it to the
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Fehd,
Sent: Thursday, July 28, 2005 9:25 AM
Subject: Re: Enterprise guide 3 - process flows
>From: Martin McNulty
>I'm currently evaluating enterprise guide 3 as an alternative
>to the SAS
>programming interface. My question seems fairly simple to
>me, but is it
>possible to use code I've written as part of a process flow?
>It seems to be
>easy to use it as the start of one, but I can't see how to
>put it in the
>middle of one.
>For example, if I write a simple data step that copies a
>dataset, the output
>set is linked to the code in the process flow diagram, but
>the input one is
>Hope someone can help, and that I'm not being totally stupid
Dialogue moves us forward. -- RJF2
Good question and thank you for asking.
As a result of attending an EG presentation here last week,
I have the answer to your question
which I will reframe as:
'How can I put EG on top of a project?
i.e.: code that is already developed, tested, and running?'
the answer: CodeNode
which I must not have heard correctly
because I cannot find it in the menus
so will send this to TechSupport
and get back to you
I have a laundry list of things to ask about, too:
how to integrate an existing
into an EG project?
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
Re: Re: Enterprise guide 3 - process flows
Martin McNulty wrote:
> Thanks guys, seems maybe I didn't phrase my question clearly enough -
> I know how to add code to the project, but my problem is linking it
> to its inputs. For example, if my code copies work.tmp to work.tmp2,
> then I'd like to see an arrow from work.tmp into my code as well as
> the one from my code to work.tmp2. That way I could make the code
> part of an existing process flow and run the whole flow with the
> 'right click/run process flow from here' command. As it is, there's
> a break in the flow just before my code, so I have to run the flow in
> two parts.
One trick I haven't fully explored is to utilize views that call execute
I.e. the output of some task node is passed into a query node that joins
with a 'sneaky view' which in turn causes some code to run as a side effect.
call execute ('...');
At join time, there is no metadata available that can inform a view as to
what other tables it is being joined with. In the longrun, this is a good
Richard A. DeVenezia
|Thread||Thread Starter||Forum||Replies||Last Post|
|SV: Enterprise Guide or Miner on Red Hat Linux?||Fredrik Hansson||Newsgroup comp.soft-sys.sas||0||04-15-2008 07:03 PM|
|Re: enterprise guide peculiarities - %str()||Paa K||Newsgroup comp.soft-sys.sas||0||05-25-2006 02:44 AM|
|Enterprise guide 3 - process flows||Martin McNulty||Newsgroup comp.soft-sys.sas||1||07-28-2005 02:54 PM|
|Re: Enterprise guide 3 - process flows||Tim Muir||Newsgroup comp.soft-sys.sas||0||07-28-2005 01:28 PM|
|Re: Enterprise guide 3 - process flows||Fehd, Ronald J||Newsgroup comp.soft-sys.sas||0||07-28-2005 01:24 PM|