>I reckon it'd be faster for me to write the assembler than try and work out 
>all the (REXX) conversion calls needed.

I agree - I always find those "D2C" "C2X" calls as confusing as COND in JCL 0 
and I *hate* control block chasing in REXX.

If I had the spare time, I would do something like :

(1) Create a REXX external function thats calls ERBSMFI (for example : x = 
REXXSMFI(arg1,arg2..))
(2) Use arg1 and arg2 to pass parameters to ERBSMFI to nominate the call type 
(ASD, DEV etc)
(3) Return the SMF-79 fields back as stem variables using their field name from 
the DSECT (eg : REXXSMFI.R792JBN.i)
(4) Pass back the system CPU and paging rates as reserved variables.

A bit of initial effort to setup - but maybe worth it in the long term.

Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Shane
Sent: 12 October 2007 11:36
To: [email protected]
Subject: Re: Where to find CPU% Used by an Address Space

On Fri, 2007-10-12 at 12:04 +0200, John Ticic wrote:
> -- snip --
> Does anyone have any Rexx that calls ERBSMFI directly?
> -- snip --
>
> For starters ...

I reckon it'd be faster for me to write the assembler than try and work out all 
the (REXX) conversion calls needed. So much so, that I've never even  thought 
of using REXX for SMFI.
Mmmmm - now on the other hand, perl is maybe an option.
Is there a CPAN equivalent for REXX  (for big iron I mean, not
OS/2) ???. This sort of thing could be exposed as a (native) "module".
Then we'd be starting to get somewhere.

Dream on ...  Shane

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to