View previous topic :: View next topic |
Author |
Message |
nivedita Beginner
Joined: 04 Nov 2003 Posts: 22 Topics: 15
|
Posted: Thu Jun 10, 2004 7:16 am Post subject: assembler routine for CPU time |
|
|
Need some help on assembler routine.
We have a a transaction ( in IMS environment). This transaction involves around 20-25 programs, and each program has around 25-30 paragraphs.
Now we are going to add the DISPLAY statements at the start and end of each paragraph. Once we run the transaction, then we need to collect the CPU time taken by each paragraph.
How to collect the CPU statistics for each para, using assembler routines.
Or any idea on how we can capture the CPU statistics for each para.
Thanks in advance |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Sat Jun 19, 2004 3:29 am Post subject: |
|
|
Hi nivedita,
pls check the ibm assember documentation, using assember macro TIMEUSED.
Using this assembler routine you can get the cpu time since start of task.
Other possibility: MVS Control Blocks, but I'm not sure about the correct controlblock / field. I have to check the dokumentation.
Pls let me know, if PL/1 sample for macro TIMEUSED is helpful. But I think, you need cobol sample ?!
regards,
bauer |
|
Back to top |
|
 |
nivedita Beginner
Joined: 04 Nov 2003 Posts: 22 Topics: 15
|
Posted: Sun Jun 20, 2004 10:52 pm Post subject: |
|
|
Yes, I need COBOL sample... But I got some assembler routine which can be called from cobol application...
Thanks for your help... your suggestion helped me out....
Once again thanks.
Nivedita |
|
Back to top |
|
 |
|
|