BookmarkSubscribeRSS Feed
jins
Fluorite | Level 6

Trying to populate the drop down box in SAS VIYA HTML form of the job definition using a macro variable storing the values as shown below. 

jins_0-1655220596781.png

 

 

How do i resolve this macro variable in such a way that I can dynamically exclude the option statements (italicized) below in the code?

 

<label for="dataset">Data set:</label> <select name="dataset" id="dataset" class="jobexec_sample_select">

 

<option value="" selected>&#160;</option>

<option value="sashelp.retail">SASHELP.RETAIL</option>

<option value="sashelp.class">SASHELP.CLASS</option>

<option value="sashelp.revhub2">SASHELP.REVHUB2</option>

<option value="does_not_exist">does_not_exist</option>

 

</select>

4 REPLIES 4
jins
Fluorite | Level 6

Trying to populate the drop down box in SAS VIYA HTML form of the job definition using a macro variable storing the values as shown below. 

jins_0-1654549541773.png

 

How do i resolve this macro variable in such a way that I can dynamically exclude the option statements (italicized) below in the code?

 

<label for="dataset">Data set:</label> <select name="dataset" id="dataset" class="jobexec_sample_select">

 

<option value="" selected>&#160;</option>

<option value="sashelp.retail">SASHELP.RETAIL</option>

<option value="sashelp.class">SASHELP.CLASS</option>

<option value="sashelp.revhub2">SASHELP.REVHUB2</option>

<option value="does_not_exist">does_not_exist</option>

 

</select>

 

 

 

 

 

JOL
SAS Employee JOL
SAS Employee
Try reposting under: Solutions -> SAS Viya
jins
Fluorite | Level 6

Good suggestion and i did that now.

thanks again!

Kurt_Bremser
Super User

If you need a question moved to a different community, call out to one of us Super Users, we can do that for you.

(Enter a @, immediately followed by the username)

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 4 replies
  • 662 views
  • 0 likes
  • 3 in conversation