Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 SAS array that calls a macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dichter
BIAC Faculty

190 Posts

Posted - Oct 21 2008 :  2:47:02 PM  Show Profile  Visit Dichter's Homepage  Reply with Quote
I am trying (unsuccessfully) to set up nested SAS arrays to call repeatedly a macro (named FEATQUERY, below), with the following code:

ARRAY SUB (2) 20080627_34561 20080709_34597;
DO I = 1 TO 2;
ARRAY REGION (2) 372 373;
DO J = 1 TO 2;

%FEATQUERY(I,J)

END;END;

But "I" and "J" are not being replaced correctly. Anyone have experience with SAS arrays? Thank you.

Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.19 seconds. Snitz Forums 2000