BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have a set of validation procedures applied to a particular SAS data set. I wish to replicate it across other multiple sources. I can derive a list of all the sources. How can I do it using the 'DO' loop
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
This does not seem like a stored process question, (even if you want to make a stored process into a Data Integration Studio job) because using a DO loop and using a %DO loop are vastly different topics.

If you want to apply a (working) set of processes/analyses to multiple data sources, I believe you would not use a simple DATA step Do loop, but would instead use SAS Macro program and processing and a macro %DO loop. This might change the program or process flow that you are building in SAS Data Integration Studio.

Your best bet for help with this question might be to contact Tech Support.

cynthia
LinusH
Tourmaline | Level 20
To do this within DI Studio you will probably create a job with a input table using parameter. Then call this job using Loop and Loop end transformations. As input to the Loop you can have a look-up table the table-names you want to validate, which map to the parameter name you specified in the validation job.

Regards,
Linus
Data never sleeps

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1060 views
  • 0 likes
  • 3 in conversation