LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 2001, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 24 Aug 2001 11:45:38 -0400
Reply-To:     Clemens van Brunschot <c.vanbrunschot@CHELLO.NL>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Clemens van Brunschot <c.vanbrunschot@CHELLO.NL>
Subject:      Interfacing SCL>SUBMIT block for multiple values

Hello friends,

I need to pass either a - two-dimensioal array, or a - set of suffixed macro variables from SCL to a SUBMIT block.

In the submit block I would prefer to have available something like &&number&ind.

Problems with this: - I can't find a transfer of SCL arrays to Base SAS. - Turning to suffixed macro variables, in SCL the following won't work: do i=1 to n; number= ...; call symputn('ind',i); call symputn('number&ind',number); end; because the &ind reference is not recognized. - I can't get the job done in a SUBMIT block either do i=1 to n; number= ...; SUBMIT continue; data _null_; call symput('ind',&i); call symput("number&ind",&number); run; ENDSUBMIT; end; since the arguments passed to the DO-loop are determined at compilation time instead of at runtime, so that only one value is passed to the SUBMIT block (corresponding with i=n).

Who knows a way?

Kind regards,

Clemens van Brunschot c.vanbrunschot@chello.nl


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