On Fri, 20 Nov 2009 14:22:49 -0700, Steve Comstock
<[email protected]> wrote:

>
>In my incomplete course, "Introduction to Java for z/OS
>Applications Programmers", available for free from our
>website, we give examples of extracting fields from
>records by reading chunks of bytes and using various
>methods to convert to different formats. Look at p. 387
>for an example of extracting four fields (two string
>fields, an integer field, and a float field) into
>object variables.
>

I've downloaded the PDF, but haven't had time to read it. Thanks for sharing it!

>
>I think it would actually provide some insight to study
>the earlier section on writing files, also. (Start with
>page 275, for example, especially pp. 290-313.)
>
>
>Hope this helps.
>
>--
>
>Kind regards,
>
>-Steve Comstock

What I've done is download the Alphaworks version of IBM's JZOS. From what I
can read in the license, I can use it on my PC. Kirk Wolf from Dovetailed
Technologies, which wrote the actual code for IBM, said that it was so
licensed. It has an application which can generate JAVA code which creates
accessor functions for fields contained in a byte[] array. It does this by
reading ADATA from HLASM or COBOL. And I can read the SMF data that I want
using the RDWInputRecordStream into such a byte[] array. I compiled an
example program which expands the SMF type 30 records and generated the Java
code using that.  I'm currently working on that code in the NetBeans IDE.
Sor far, so good. The code compiles. But I need to get some SMF type 30
records to test with. And I'm not going to try to download any to my home
machine because we have people who monitor bandwidth usage. I don't want to
get yelled at.

--
John McKown (from home)

----------------------------------------------------------------------
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