Like I said, I'm just learning Java. And so I looked for a method that would contain something like TIOT, DDNAME [search], and the like.

I don't know where to look for these on/under z/OS.

So yes, the ALC code does an EXTRACT TIOT, etc. etc. But I don't know how a Java programmer is going to deal with this.

Just say'n'

Steve Thompson

On 8/30/2024 2:46 PM, Paul Gilmartin wrote:
On Fri, 30 Aug 2024 10:57:01 -0400, 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.

All the suggestions I've seen in this thread so far seem to presume
Java support for CALL (Conventional MVS variable-length
parameter string).  Does java have such support?

Then:
<https://www.ibm.com/docs/en/zos/3.1.0?topic=conventions-conventional-mvs-variable-length-parameter-string>
PL/I usage might include the following statements:
DCL PLIRETV BUILTIN;
   DCL BPXWDYN EXTERNAL ENTRY OPTIONS(ASM INTER RETCODE);
   DCL ALLOC_STR CHAR(100) VAR
         INIT('ALLOC FI(SYSIN) DA(MY.DATASET) SHR');
   FETCH BPXWDYN;
   CALL BPXWDYN(ALLOC_STR);

<https://www.ibm.com/docs/en/zos/3.1.0?topic=output-requesting-allocation-information>

No shareware.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to