06-15-2012 09:09 AM
Is that possible to create a interaction for people when people is running a SAS program ?
When a SAS program is running,then the program comes to a SAS statement/or some special code,the code will pause SAS program and give a message in SAS log to ask user to enter any key to continue running the rest part of the program. when user enter any key on the keyboard, the program will continue running.
06-15-2012 10:57 AM
Look in online help for the WINDOW statement and/or the %WINDOW statement. These don't place anything in the log unless you add logic based the response but will let you enter values and such with base SAS. IIRC these work best between PROCS and Datasteps.
If you have SAS/AF and FSP you can create entire applications with lots of widgets and things.
06-15-2012 11:17 AM
However, if the OP is using the BI Platform, then the %WINDOW statement will not be available for several reasons:
1) the %WINDOW statement will not work in Enterprise Guide or any of the client applications in the BI Platform (since all stored processes and task/wizard code are essentially submitted in batch mode)
2) using webAF (the BI web services java beans) and Eclipse is the way to create interactive applications using the BI Platform.
On the other hand, if the OP is using the BI Platorm, then the prompting interface is built to allow for user input -- not so much between steps in a stored process -- but to collect input from the end user in order to have flexible programs.