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

Tool design in Rexx


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Tue Dec 08, 2009 4:10 pm
Reply with quote

Hi ,
I want to design a tool in rexx which should give me the below mentioned details

1. Top 100 CPU consuming jobs/Program.
2. What are the different utilities/Product that are installed in that shop?

I would like to know how to go for writing the program.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 08, 2009 4:15 pm
Reply with quote

As far as i see thats reinventing the wheel.
A good shop has that info already.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Dec 08, 2009 4:20 pm
Reply with quote

Well for the CPU consumption, I would talk to the capacity and performance group at your site as it is highly probable that they already produce this information using tools far far far more efficient than REXX could ever be.

As for what is or is not installed at your site, the sysprogs "should" already have this information at hand.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Tue Dec 08, 2009 4:25 pm
Reply with quote

Hi ,
Thanks for the reply,
As of now we are getting the data of the top 100 job/pgm from the Capacity and performance team but I would like to know that is there any ways by which we can retrive the data.?

@ Expat
I am new to ISPF commands/PDS
Could you please tell me where can I locate the sysprog?

Thanks
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 Dec 08, 2009 4:29 pm
Reply with quote

Quote:
As of now we are getting the data of the top 100 job/pgm from the Capacity and performance team but I would like to know that is there any ways by which we can retrive the data.?
This is probably an extract from the SMF data records. Your best bet would be to find out from the capacity and performance team how they generate the list and use that method. If they are using the SMF data to produce this report, REXX is a really, really, really, really, REALLY bad choice of a tool to replicate the report.

You probably cannot find all the tools / products used in your shop without talking to your site support group. The names of the libraries can be set by the site, and you may not even have access to many of them, so merely attempting to create such a list automatically may trigger security alerts that could have seriously negative consequences.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Tue Dec 08, 2009 4:31 pm
Reply with quote

Hi Robert,
Is there any other way that you can sugest for achiving this task except from asking the Capacity and Performance team ?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Dec 08, 2009 4:41 pm
Reply with quote

Why would you want to reproduce information that is already being produced by another department.
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 Dec 08, 2009 4:56 pm
Reply with quote

If you are unwilling -- for whatever reason -- to talk to your site support group, you will not be able to achieve these goals. Further, as expat said, you are wasting your company's resources in attempting to reinvent the wheel.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 08, 2009 5:00 pm
Reply with quote

Robert Sample wrote:
If you are unwilling -- for whatever reason -- to talk to your site support group, you will not be able to achieve these goals. Further, as expat said, you are wasting your company's resources in attempting to reinvent the wheel.


Thats what i said.
Am I being ignored? icon_eek.gif
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Tue Dec 08, 2009 5:05 pm
Reply with quote

I agreee with all of you, but still just for information could you please share the information from where can I check the top consuming jobs/pgm.
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 Dec 08, 2009 5:26 pm
Reply with quote

Peter: sorry about that! I'll notice you twice next time, okay? icon_biggrin.gif

Ketan: as far as I know your #1 can only be achieved by using SMF data. You have been told this already. We're not going to change our answer just because you don't like it.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Dec 08, 2009 5:27 pm
Reply with quote

SMF records are created as format VBS, which REXX CAN NOT process. Therefor you CAN NOT REproduce the data using REXX.

This is why we have told you to go and talk to the people with the correct tools in place to process the SMF data.

TALK TO THEM. If you are lucky they may allow you access to the processed SMF data, and you can then invoke SAS via REXX to process the data, however I would recommend that this is done in batch. But then again, if in batch why use REXX to invoke SAS when you can invoke it directly.

icon_lol.gif My shares in wheel reinvention inc have just gone up again icon_lol.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Dec 08, 2009 6:15 pm
Reply with quote

Just my .$02...

To start with and the way question is posed, I'm pretty sure you're not from sysprogs / performance & capacity or storage management teams AND if so do you have read access to the dumped SMF data?

On the other hand, if you have MXG or MICS available - talk to the sysprogs / performance & capacity / storage management teams to see if they already produce the reports of your intereset, and see if they can give you the code to find out what you need.

I don't play much with SMF records (anyways they say, if a machine is working fine don't distrub it icon_biggrin.gif) however, SMF record type 30 subtype 4 should give you quite a bit of infomation about the CPU usages.

Subtypes 2 & 3 can be used for interval reporting, what would interest you the most is your choice.

But, once again -- do you have read access to the dumped SMF data?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Dec 08, 2009 7:52 pm
Reply with quote

PeterHolland wrote:
Thats what i said.
Am I being ignored?

Peter,
by know you should have noticed that most TS's in this forum only want to see the code.
Responding to your suggestion would mean that the Topic Starter would have to
  • read and think
  • know something about IT
  • conduct themselves other than as the center of the universe


I usually ignore these type of questions and sit back and watch the bold and size increase as the ops oriented members repeat themselves.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 08, 2009 10:24 pm
Reply with quote

Dick,

i agree in that, self education is an alien term nowadays.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Dec 08, 2009 11:13 pm
Reply with quote

Quote:
I agreee with all of you,


but the real meaning is...
i do not give a sith about what You think,
just answer my questions the way I want, not the way You think is right
and stop bothering me with good practices and all that

no bold, just a quiet comment icon_wink.gif
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Wed Dec 09, 2009 10:14 am
Reply with quote

HI Dick,
Thanks for the reply,
I don't want to see the code as u interpreted my question,
I am studying the ISPF and getting the knowledge about the top CPU consuming jobs.
In our day to day Process we get this data from the Capacity Team, I just want to know how does and where does this data reside in mainframe.

I am also putting my effort in learning thing and would appreciate is some of the seniors in the Technology could have helped me in learning so,
Even if you provide me with some of the link for getting this information would be nice.

As of not I don’t know what is SMF data as Anuj has mentioned, but I will definitely try to find it out.

Thank you all for your precious time
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 12:51 pm
Reply with quote

Have a think about that last post. How do you expect us to know where the performance and capacity team store their data. These guys work within your environment, not ours. so ask them.

As for SMF data I would not try to access it because it is usually considered sensitive data and very well protected for legal and financial reasons, with access being given to very few people. Depending on the security policies in place at your site, access at your peril.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Wed Dec 09, 2009 12:53 pm
Reply with quote

Thanks Expat, I am getting some information from google regarding SMF data, Would update you if I came to know some thing new.
Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 09, 2009 3:45 pm
Reply with quote

Ketan Varhade wrote:
As of not I don’t know what is SMF data as Anuj has mentioned, but I will definitely try to find it out.
SMF stands for, System Management Facilities, a standard feature of MVS that collects and records a variety of system and job-related information.

Apart of this, the best way is to get in touch with your capacity management team, as been suggested earlier also - it might take some iteration initially to get in touch with them (as you're from outsourcing unit) but eventually you'll get there and will save a lots of time for sure. Trust us.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
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
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top