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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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