BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Anne_A
Quartz | Level 8

Dear community,

I need to use parameters in DI Studio. I have defined the parameters in the "Parameters" tab of the transformation (User Written Code), successfully tested them (each of them uses a specific dynamic list) in the transformation properties but when I run the transformation I do not get any prompt for the parameters.

Does anyone have an idea / hypothesis as to what is missing here?

Many thanks in advance

Cheers

Anne.

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

DI Studio is a development tool.

Parameters is meant to be popoluted/assigned values during execution time - main scope is batch mode.

Then of course from a unit testing perspective it would be nice to be able to interctively assign values from the DI Stuido UI. But unfortenately that is not how this works. So you need a way to assign the parameters temporarely, in a pre-step, or if you export the code to a separate code window/Enterprise Guide and assign the parameter value there manually.

Data never sleeps

View solution in original post

2 REPLIES 2
LinusH
Tourmaline | Level 20

DI Studio is a development tool.

Parameters is meant to be popoluted/assigned values during execution time - main scope is batch mode.

Then of course from a unit testing perspective it would be nice to be able to interctively assign values from the DI Stuido UI. But unfortenately that is not how this works. So you need a way to assign the parameters temporarely, in a pre-step, or if you export the code to a separate code window/Enterprise Guide and assign the parameter value there manually.

Data never sleeps
Anne_A
Quartz | Level 8

Many thanks for your very prompt and clear answer @Linus_H. 

sas-innovate-2024.png

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 334 views
  • 0 likes
  • 2 in conversation