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.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 795 views
  • 0 likes
  • 3 in conversation