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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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