Need a Base SAS program, that can run for 30 minutes to 60 minutes. We need to run the program, as part of Performance Testing , between SAS9.2 and SAS9.4. The program should have FULLSTIMER option.
Your help is greatly appreciated. Thanks.
If you want something to run for a set time, would something like:
%let mins=00:01; data want; start=time(); end=start+"&mins."t; i=0; do while (time() <= end); if i >= 600000 then do; /* Note, adjust this, otherwise you may end up with a lot of records */ curr_time=time(); output; i=0; end; i=i+1; end; run;
Without knowing the hardware sas is running on, it is hardly possible to write a program running for at least 30 minutes.
For IO-testing a tool exists:
Linux: http://support.sas.com/kb/51/660.html
Windows: http://support.sas.com/kb/51/659.html
Skip through the logs of your batch jobs, till you find one that took long enough, add the fullstimer option and run it in both releases.
That takes care of the problem of the system's CPU and I/O cpabilities, which nobody here can replicate. All servers are different.
If you want something to run for a set time, would something like:
%let mins=00:01; data want; start=time(); end=start+"&mins."t; i=0; do while (time() <= end); if i >= 600000 then do; /* Note, adjust this, otherwise you may end up with a lot of records */ curr_time=time(); output; i=0; end; i=i+1; end; run;
I really do appreciate for the time you have spend on my porblem. Thanks for your help.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: