> > I am not much of a Java guy but IIRC it would be a fairly short editing leap > from Java classes to C structs.
Depends on what you mean by "fairly short" :-) It would be good if you could find the DSECTS for Cobol ADATA, but if you look at the ADATA produced by Cobol, you'll likely find that you only need a couple of record types. You could just type these into structs in a few hours, and it would be easier than translating from Java code. But mapping the ADATA records is by far the easiest part :-) Kirk Wolf Dovetailed Technologies http:// <http://dovetail.com>coztoolkit.com On Sat, Dec 16, 2023, at 11:47 AM, Charles Mills wrote: > @Kirk, interesting. I was not aware of that tool. I have used the DSECT to C > header conversion tool that is part of the XLC product, but I was not aware > of this tool. > > I am not much of a Java guy but IIRC it would be a fairly short editing leap > from Java classes to C structs. > > Unfortunately, as you imply, it needs DSECT or COBOL layouts as input, and I > don't have that. What is needed is a tool that would take a PDF manual as > input! (Only half kidding. Could ChatGPT do that?) > > I have the HLASM ADATA layouts in DSECT form, but most of the record types > are not alike beyond the name and the type code. > > Charles > > On Sat, 16 Dec 2023 11:28:22 -0600, Kirk Wolf <[email protected]> wrote: > > >Hi Charles, > > > >This may not be what you are looking for, but as I recall it's pretty cool: > > > >https://www.ibm.com/docs/en/record-generator/3.0?topic=what-is-record-generator-java > > > >Along with generating Java mapping classes, you can also spit out XML > >descriptions. > > > >I haven't looked at this in a long time and I'm not 100% sure that IBM > >provided DSECTS, but I think that they did. I looked and can't find them > >either. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
