MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Strobe to find out CPU usage

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Meena_ramanathan
Beginner


Joined: 25 Oct 2005
Posts: 11
Topics: 7

PostPosted: Fri Jan 13, 2006 2:04 pm    Post subject: Strobe to find out CPU usage Reply with quote

Hi,
Is there any site from where i can find out how to use strobe to monitor the CPU usage when a job runs.
I'm trying to find out what CPU time it takes to initialize an array of a million occurences coded in cobol.

Any pointers?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Jan 13, 2006 2:11 pm    Post subject: Reply with quote

Meena_ramanathan,

Quote:

Is there any site from where i can find out how to use strobe to monitor the CPU usage when a job runs.


If you are licensed user of strobe, you can contact

http://frontline.compuware.com/

Quote:

I'm trying to find out what CPU time it takes to initialize an array of a million occurences coded in cobol.


That depends on "how" you are initializing the array. Are you using INITILIAZE verb, or perform stmt or Moving 01 level init array ?

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
haatvedt
Beginner


Joined: 14 Nov 2003
Posts: 66
Topics: 0
Location: St Cloud, Minnesota USA

PostPosted: Sun Jan 15, 2006 3:16 am    Post subject: Reply with quote

Meena,

perhaps you should consider if its possible to code a process which does not require an array to be initialized. I avoid initializing arrays if at all possible. I use ODO (variable length) arrays when using a binary search (SEARCH ALL). This allows for the array to not require initialization.

The only situation that I have found which absolutely requires initialization is a technique sometimes referred to as a "sparse table/array". This is usually encountered in hash tables. Note that "direct index" tables are really a special case of a hash table.

So a better solution to your issue might be is there a process which would eliminate the need to initialize the array ????

Chuck Haatvedt
_________________
Chuck Haatvedt

email --> clastnameatcharterdotnet

(replace lastname, at, dot with appropriate
characters)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group