"Don Burklo" <dwburklo@COPELAND-CORP.COM> wrote in message
> What is the best way to end a SAS AF Application and still remain in SAS?
> Using endsas in a submit block end the application and SAS. I have
> tried "Call Execcmd('END')" outside of a submit bloce in the term section
> with no sucess.
The term: section only runs when an ending action has occurred (such as END
or CANCEL commands or user clicking X button in the window).
The simplest might be to have a push button control in the frame and set the
.label = 'End'
.commandOnClick = 'END'
You can set a controls attributes using either the Properties Editor or
programmatically in the frame's INIT section.
You could also put
call execcmd ('END') _after_ the endsubmit; statement
What you do depends on what you want to happen.
Richard A. DeVenezia,