LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 9 Nov 2004 08:27:06 -0500
Reply-To:     "Fehd, Ronald J." <RJF2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J." <RJF2@CDC.GOV>
Subject:      Re: PROC  inside PROC
Content-Type: text/plain; charset="us-ascii"

> From: Arvind Chande

> My requirement is to use some of the standard PROCs like > SORT, FREQ etc. inside PROC GA for user defined objective > fuction. Have anyone tried out such things?

Nice Idea! YeahBut just what are you thinking you are going to pass as parameters from proc GA to any other procedure?

as previously shown, a proc (SQL) or data step can generate code to be run in the next step procedures can produce output data steps which have values to be used by other processing.

but SAS does one thing well, at a time. like most of the rest of us.

So your program may read like you wrote it but the arithmetic is done sequentially.

take a look at the output data set from proc GA. These variables and their values are the parameters you will use as input to other procedures

Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov

By using your intelligence you can sometimes make your problems twice as complicated. -- Ashleigh Brilliant


Back to: Top of message | Previous page | Main SAS-L page