Help using Base SAS procedures

How to close a data step window automaticaly

Reply
Regular Contributor
Posts: 222

How to close a data step window automaticaly


Hello everyone,

Is that possible to close a data step window automatically by sas code?

Thanks

Mike

   data _null_;
    window test irow=35 icolumn=3 rows=10 columns=60
       #3 "This window will be closed in 10 seconds automaticaly!"

        ;
    display test blank;
    stop;
  run;

Super User
Posts: 3,256

Re: How to close a data step window automaticaly

Posted in reply to Mike_Davis

Try this:

data _null_;

    window test irow=35 icolumn=3 rows=10 columns=60

       #3 "This window will be closed in 10 seconds automaticaly!"

        ;

    display test blank NOINPUT;

    rc=sleep(10);

    stop;

run;

The SLEEP function will also display another window but you can use the NOSLEEPWINDOW option when you start SAS to turn this off.


Ask a Question
Discussion stats
  • 1 reply
  • 158 views
  • 3 likes
  • 2 in conversation