Hi, I came across this as I am in a similar position. I hope the author does not mind me re-opening this thread. I have created a frame in SAS/AF with a pushbutton. I would like it to run / execute a sas program (*.sas) and display the results on the screen. I don't know what SCL code I need to use. An alternative would be to have the option to open an HTM file in the browser when the button is pressed. If I use 'dlgopen' in the properties window of the pushbutton for 'commandonclick', a popup menu appears allowing me to browse to the file but when I finally click open, it opens it in as a text file, so it does not execute the sas file. same thing happens if I choose to open an HTM file, it opens it as a text ( I can see the HTML codes like <head><body> etc..) All I need is the SCL code that will allow me to either - execute a sas program when I click on the pushbutton in the sas/af frame so I can view the results in a browser or - open/display an HTM file (static file located in the c drive) when I click on the push button in the frame Should you have any question, please let me know. Thanks Sunny
... View more