DATA Step, Macro, Functions and more

Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 15
Accepted Solution

Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

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.


Accepted Solutions
Solution
‎01-29-2016 08:48 PM
Super User
Super User
Posts: 7,392

Re: Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

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;

View solution in original post


All Replies
Super Contributor
Posts: 259

Betreff: Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

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

 

 

Super User
Posts: 6,928

Re: Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎01-29-2016 08:48 PM
Super User
Super User
Posts: 7,392

Re: Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

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;
Occasional Contributor
Posts: 15

Re: Need a program with FULLSTIMER option, to compare sas9.2 with sas9.4

I really do appreciate for the time you have spend on my porblem. Thanks for your help.Smiley Very Happy

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 206 views
  • 0 likes
  • 4 in conversation