Hi community, I have come through some kind of excercises and I would much appreciate your ideas. I have also done my research in SAS documentation but I still have some questions on the following:
What would this code do and what results could possibly return?
data _null_;
x = sleep(2);
run;
Thank you
Search support.sas.com for data _null_. It should give you plenty of hits.
And secondly, you have a piece of code. Please don't ask what it does - try it yourself and observe...
Also, the HELP documentation for the SLEEP command is extremely clear.
Thanks for the replies. Apparently I am not able to run the code cause my academic license expired and that's why I threw it in the community board. I also am aware of the Sleep functionality but since I am unable to run the code, I can't see how teh data_null connects to the sleep function.
In any case thank you for your consideration.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.