@meckarthik wrote:
Hi There,
I've created some codes which run automatically when run command is pressed, but i need to be run only when certain conditions are met, otherwise should stop and close the SAS program (if possible).
eg. after 4 pm on Friday
Any help
Such tasks are handled by schedulers. Depending on the code you have, it could be possible to add some checks and terminate the sas process, but i can't recommend re-inventing the wheel.