A single JFCB or a full ARL? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Kirk Wolf <[email protected]> Sent: Saturday, August 31, 2024 12:24 PM To: [email protected] Subject: Re: JAVA: Can it handle TIOT read? AFAIK, there isn't a nice way to extract the TIOT entries in Java. Options: 1) JZOS does have ZFile.readJFCB method which would allow you to get the JFCB for a given DDNAME, which can be handy and might serve your purposes. 2) You might try to use ZFile.peekOSMemory which is pretty ugly. You could use the JZOS record class generator to generate java classes from DSECTS for the control blocks. I'm not sure how to do this correctly without using the EXTRACT macro. 3) You could write your own JNI code and drop down into assembler to do the EXTRACT etc. Kirk Wolf Dovetailed Technologies https://coztoolkit.com/ On Fri, Aug 30, 2024, at 9:57 AM, Steve Thompson wrote: > I'm working on a project to "modernize" ALC to Java. > > And I have code that is reading the TIOT to find DDs that the > process is interested in. > > The subject is the question. I'm documenting routines (biz logic) > and the program I'm working on is a bit challenging. > > I know Java, kinda, when I see it. But I haven't found any method > for this. > > Anyone have to deal with this before (in Java)? > > Regards, > Steve Thompson > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
