On 31/08/2024 12: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.

If you know the name of the DD, you can use ZFile.ddExists:
https://www.ibm.com/docs/api/v1/content/SSA3RN_11.0/com.ibm.java.api.11.doc/com.ibm.jzos/ibm.jzos/com/ibm/jzos/ZFile.html#ddExists(java.lang.String)

More generally, you can use ZUtil.peekOSMemory to follow control blocks and jzos.fields classes to read the values.

It's worth getting familiar with the JZOS classes and what they provide, they are very useful.

https://www.ibm.com/docs/api/v1/content/SSA3RN_11.0/com.ibm.java.api.11.doc/com.ibm.jzos/ibm.jzos/module-summary.html

--
Andrew Rowley
Black Hill Software

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

Reply via email to