Type : SASHELP
Die Daten für die Dropdown-Liste stammen aus der internen Tabelle `sashelp.orsales`. Der restliche Inhalt ist statisch im Code definiert.
| 1 | PROC SQL ; |
| 2 | select distinct '<option value="'||strip(product_line)||'">'||strip(product_line)||'</option>' |
| 3 | into :options separated BY ' ' |
| 4 | from sashelp.orsales ; |
| 5 | QUIT ; |
| 1 | DATA _null_ ; |
| 2 | file _webout ; |
| 3 | INPUT ; |
| 4 | line=resolve(_infile_) ; |
| 5 | put line ; |
| 6 | cards4 ; |
| 7 | |
| 8 | |
| 9 | Pick a report to RUN |
| 10 | |
| 11 | <INPUT type="hidden" name="_program" value="/User Folders/phil/My Folder/test"> |
| 12 | |
| 13 | &options |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | <INPUT type="checkbox" name="_debug" value="log">Show log |
| 28 | <INPUT type="checkbox" name="_debug" value="time">Show time taken |
| 29 | |
| 30 | |
| 31 | <INPUT type="submit" value="Run"> |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | ;;;; |
| 38 | RUN ; |