IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX utility required to generate a CPU cost report


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tmaheswara

New User


Joined: 20 Apr 2010
Posts: 8
Location: pune

PostPosted: Tue Apr 09, 2013 5:14 pm
Reply with quote

Hi,

I need a rexx utility to generate a CPU report for a particular job.

My requirement is I need to get the cpu time and elapsed time of a job with in particualar time period.

Please refer attachment for more details

Regards,

Maheswara
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 09, 2013 5:21 pm
Reply with quote

Quote:
I need a rexx utility to generate a CPU report for a particular job.

so, what do You want us to do ??? icon_evil.gif

ask Your support, they will have already something in place
Back to top
View user's profile Send private message
tmaheswara

New User


Joined: 20 Apr 2010
Posts: 8
Location: pune

PostPosted: Tue Apr 09, 2013 5:31 pm
Reply with quote

you refer my attachment what i want.

If you dont know answer dont give any comments.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 09, 2013 5:42 pm
Reply with quote

Quote:
you refer my attachment what i want.

first I will not take orders from somebody like You

second ...
unfortunately the chances of getting it are pretty nonexistent

Quote:
If you dont know answer dont give any comments.


well, sonny, You are on the wrong path...
You are the one who needs help, not me ...

and I will comment on people like You at any time I feel right

this is a help forum,
nobody is going to do the job for which You are getting paid for

in addition, why should anybody waste time reinventing the wheel

ask Your support to see what is in place


and finally have your eyesight checked
there is no flucking attachment posted
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 09, 2013 5:50 pm
Reply with quote

Quote:
you refer my attachment what i want.
WHAT attachment? You do know that many responders on this forum cannot, for various reasons, download attachments? So just by using an attachment you are drastically reducing the number of possible answers?

Quote:
I need a rexx utility to generate a CPU report for a particular job.
This is a HELP forum, not a WRITE-THE-CODE-FOR-YOU forum. If you are going to ask for code, be prepared to pay the going rate (typically about 1000 US dollars per day or equivalent in euros / pounds / whatever) for coding expertise. If you don't want to pay that, post what you have done and the problems you are having -- but don't expect to be given the entire program without any effort on your part.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Apr 09, 2013 7:00 pm
Reply with quote

Hi Robert,

regarding the attachment,
Sorry, that's my fault. I moved psychic day to Tuesday this week and forgot to tell everyone icon_biggrin.gif

As for the OP -
take a look at the SMF type 30 records, everything you need will be there
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Apr 09, 2013 7:04 pm
Reply with quote

You need a program to process SMF records. I do not think you can do it with rexx.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 09, 2013 7:30 pm
Reply with quote

Quote:
You need a program to process SMF records. I do not think you can do it with rexx.


apart the <spanned> thing nothing prevents it,
done it as Proof of concept, the <dsect> parsing/decoding is pretty boring to do
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Apr 09, 2013 9:07 pm
Reply with quote

Quote:
I do not think you can do it with rexx.


I meant: I do not think you can do it with rexx, easily.

The SMF record mappings are provided in assembler. They also have an alternate form that you can probably convert to PL/I fairly easily.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Apr 09, 2013 10:56 pm
Reply with quote

Hello,
You could have a shot at cbttape.org/cbtdowns.htm
"File # 617 REXX exec to produce SMF 30 Report from P. Berrios "

It is definitely not for the faint hearted as it appears that this CBT tape requires CBT523 as well.. CBT 523 is icon_eyes.gif assembler icon_eyes.gif

On the other hand, if you have SAS then it is super awesome easier with CBT374.

Hope it helps.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Apr 10, 2013 8:59 pm
Reply with quote

expat wrote:
Sorry, that's my fault. I moved psychic day to Tuesday this week and forgot to tell everyone icon_biggrin.gif

Why should anyone need to be told when Psychic Day is? icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top