Advertisement
Guest User

Untitled

a guest
Sep 9th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. d bulkCopy pr extpgm('BULKCOPY')
  2.  
  3. d stopwatch ds qualified
  4. d start z
  5. d end z
  6. d seconds 5u 0
  7.  
  8. d i s 5u 0 inz
  9.  
  10. /free
  11.  
  12. stopwatch.start = %timestamp();
  13.  
  14. for i = 1 to 130;
  15. bulkCopy();
  16. endfor;
  17.  
  18. stopwatch.end = %timestamp();
  19. stopwatch.seconds = %diff(stopwatch.end:stopwatch.start:*seconds);
  20. dsply %char(stopwatch.seconds);
  21. *inlr = *on;
  22.  
  23. /end-free
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement