Help using Base SAS procedures

How do user able to supply input parameters to the job?

Reply
N/A
Posts: 0

How do user able to supply input parameters to the job?

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
Regular Contributor
Posts: 191

Re: How do user able to supply input parameters to the job?

Posted in reply to deleted_user
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....
N/A
Posts: 0

Re: How do user able to supply input parameters to the job?

Posted in reply to deleted_user
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
Super User
Posts: 5,430

Re: How do user able to supply input parameters to the job?

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 3 replies
  • 124 views
  • 0 likes
  • 3 in conversation