You know what I am actually looking at doing? You may laugh but it has worked 
for me in the past. I am thinking of pulling the IBM HTML documentation into 
MS-Word and massaging it there into C declarations. I did this for a *LOT* of 
RACF record layouts for the CorreLog product, so I know whereof I speak. Why 
MS-Word?

- IBM's HTML tables map to MS-Word tables. You can then manipulate stuff by 
columns. For example, the doc's Foo CL8 wants to become char Foo[8]; So you 
duplicate the CL8 column and have CL8 Foo CL8. Then you change the first 
column's CL8 to char and the third column's CL8 to [8]; and you are most of the 
way there. Not sure if this description make sense, but it works, at least for 
me.
- Good visual text manipulation tools
- I have done it before and am familiar with it.

Charles

On Sat, 16 Dec 2023 12:12:01 -0600, Kirk Wolf <[email protected]> wrote:

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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to