BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I am using SAS data Integration studio.

I wanted to supply user input to a job, so i can reduce the number of similar jobs created.

Let say...
I have a dataset and using the extract transformation to retrieve some records based on the year column in the dataset ( where year = variable1)

variable1 can be 2009/2008/2007. All this is done by user input and store in variable1.

How am I able to do such thing in the SAS Data Integration tool 3.4 ?
What steps are needed to implement this feature?

Thanks.

Yours Sincerely,
helphelp
3 REPLIES 3
FredrikE
Rhodochrosite | Level 12
Somewhat odd way to use DI-studio, I would create a Stored Process with parameters, that users run in EG.

One way of doing it in DIS is to create a user written transform with a option called year and then use the macro variable of that option to filter your data in your DIS job.

The user will not be prompted, but can at least choose year from a drop down box...
If you make the options mandatory and leave it blank, the user can't run the job whitout setting the option, but as I said an odd way of doing it....
deleted_user
Not applicable
How do you create a store procedure with parameters? I want to try this out allow user to input to the job rather than fixing the condition.

Do you have a sample code for me to reference?

Thanks.

Yours Sincerely,
Helphelp
LinusH
Tourmaline | Level 20
For DI Studio 3.4, see chapter 9 in the users guide.
For details about Stored process, see the "SAS Stored Processes: Developer's Guide" section under "Integration Technologies" in the online doc library.
/Linus
Data never sleeps

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 809 views
  • 0 likes
  • 3 in conversation