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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

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