Go Back   Rhinocerus > Newsgroup > Newsgroup comp.soft-sys.sas

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2005, 02:19 PM
Martin McNulty
Guest
 
Posts: n/a
Default Re: Enterprise guide 3 - process flows

Hi,

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),

Cheers,

Martin

Hi,

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
open project.

-Tim

-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Fehd,
Ronald J
Sent: Thursday, July 28, 2005 9:25 AM
To: SAS-L@LISTSERV.UGA.EDU
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
>not.
>
>Hope someone can help, and that I'm not being totally stupid
>here, thanks.


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
or help
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
* autoexec
* SASv9.cfg
into an EG project?

Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 07-28-2005, 04:21 PM
Richard A. DeVenezia
Guest
 
Posts: n/a
Default Re: Re: Enterprise guide 3 - process flows

Martin McNulty wrote:
> Hi,
>
> 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
code blocks.

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.

data sneaky/view=sneaky;
call execute ('...');
run;

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
thing.

--
Richard A. DeVenezia
http://www.devenezia.com/


Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
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



All times are GMT. The time now is 06:11 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.