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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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