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 (January 1998, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 16 Jan 1998 16:35:06 -0500
Reply-To:     mrose@ctfinance.com
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Michael Rose <mrose@CTFINANCE.COM>
Organization: UUNET Canada News Transport
Subject:      Procs in a loop
Content-Type: text/plain; charset=us-ascii

I was wondering how to get a PROC inside a loop or a data step. I need to call a series of SAS PROCS -- SQL and IML and pass data to them based on the data in the current record of a data step. For example,

DATA X;

KeyIWant = Key; PROC SQL; CREATE TABLE JUNK AS SELECT * FROM STUFF WHERE KEY = KeyIWant;

Etc.

Any ideas.


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