Neil,

You can definitely use the JZOS RecordGenerator (which we wrote) to generate
Java code that reads SMF records that runs off-platform.

You can even use Co:Z Launcher to pipe the SMF data from a z/OS batch job to
your Java program (using records generated from the DSECT ADATA):
http://dovetail.com/docs/coz/cookbook.html#4_5

(subsitute "smfp" with invocation of your Java program.   In your Java
program use com.ibm.jzos.RDWInputStream wrapped on System.in to read the
data.)

But that's *not* the the real problem IMO.   DSECTS simply don't have the
complete syntactical description of an SMF record, unless you count the
comments.  See my earlier comments on this thread.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com



On Tue, Mar 8, 2011 at 12:19 PM, Neil Duffee <[email protected]> wrote:

> John:  you should visit the proffered url as it might give you some
> experiment ideas.  It contains JCL to generate the class by taking the
> expanded assembler macro text and running it through another class.  Once
> you have the class generated, I expect (not able to try it, tho') that it
> could be run off the mainframe with your downloaded SMF data.
>
> Worth a little investigation.  ('specially since you could probably used
> any of the other supplied macros for all the other SMF layouts.)  For that
> matter, you might be able to run the generator off z/OS using the macro text
> as input.
> ---------->  signature = 6 lines follows <--------------
> Neil Duffee, Joe SysProg, U d'Ottawa, Ottawa, Ont, Canada
> telephone:1 613 562 5800 x4585                 fax:1 613 562 5161
> mailto:NDuffee of uOttawa.ca     http:/ /aix1.uottawa.ca/ ~nduffee
> "How *do* you plan for something like that?" Guardian Bob, Reboot
> "For every action, there is an equal and opposite criticism."
> "Systems Programming: Guilty, until proven innocent" John Norgauer 2004
>
>
> > -----Original Message-----
> > From: McKown, John [mailto:[email protected]]
> > Sent: March 7, 2011 09:13
> > Subject: Re: SMF data question - an opinion poll, of sorts
> >
> > [snip] Java on
> > the z is out. I try to download what data I need to my Linux
> > system and process it there.
> >
> > > -----Original Message-----
> > > From: IBM Mainframe Discussion List
> > > [mailto:[email protected]] On Behalf Of Scott Chapman
> > > Sent: Monday, March 07, 2011 5:09 AM
> > > To: [email protected]
> > > Subject: Re: SMF data question - an opinion poll, of sorts
> > >
> > > If you want to do it in Java, it seems like JZOS might be your friend.
> > >
> http://www.ibm.com/developerworks/java/zos/javadoc/jzos/com/ibm/jzos/sample/fields/Smf83BaseRecord.html
> > >
> > > see also com.ibm.jzos.fields
> > >
> > > Of course there are all sorts of options for Java classes to build the
> > > XML once you have the data in some structure within Java.
>
> ----------------------------------------------------------------------
> 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