John, The JZOS Cookbook (on alphaWorks) has code samples and a nice little class for reading RDW-delimited records. Not ugly at all :-) There are also examples in the cookbook of using the (Cobol) copy book to Java tools. The ASM Dsect utility is similar.
The difficult part of many SMF records is that they are often aggregations of subtype records. Look at the SMF 119 (FTP) records for example. The JZOS generator tool will help you with some of the low level drudgery, but it will still be a bit of work to write the code to stitch the subtypes together. If SAS is inexpensive on a PC and you can run MXG on it supported, then why not use it? Replicating even a small subset of MXG's functionality seems like a huge effort. A very slick approach is to a Co:Z batch job to launch SAS/MXG on a PC and pipe the SMF records directly into the load process. You could even kick this off with a IEFU29 exit. Kirk On Wed, Feb 4, 2009 at 8:32 PM, John McKown <[email protected]> wrote: > On Wed, 4 Feb 2009, Paul Gilmartin wrote: > >> Good question. I know that John is an NFS user (at least >> Linux server; z/OS client). I believe that SMF data are >> RECFM=VBS. I know that if a VBS file is overridden to >> RECFM=U it can be reconstructed from the RDWs (I've done >> it in Rexx with an IEBCOPY-unloaded library). But is >> there any way to trick the z/OS NFS server into presenting >> an SMF log to the client as such a byte stream? > > I didn't try NFS. My Linux box is down for a while. It (not I) am accused > of streaming data at 7Mbs over our external Internet connection, causing > much weeping and wailing. I have no idea what could have done this. I > didn't do anything. The LAN people said it was "7Mbs encrypted downloads > from Fedora". Whatever that really means. > >> >> The alternative is to override to RECFM=U,FILEDATA=BINARY >> in JCL and IEBGENER to the Linux NFS server. >> >> Does Java on z/OS understand RECFM=VBS legacy data sets? > > Not directly. But I do an FTP with QUOTE SITE RDW or Co:Z "fromdsn" with > standard IBM RDWs. I have written Java code which can read this by > decoding the RDWs in the code. It's ugly code (IMO), but not too > difficult. > ---------------------------------------------------------------------- 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

