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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.