Thank you for this.
I'll have to do some experimenting, or one of the actual Java
programmers will.
Regards,
Steve Thompson
On 8/31/2024 12:24 PM, Kirk Wolf wrote:
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