(Avoiding assembler at all costs)

In Rexx, I can open a file with such as:

    address MVS 'EXECIO 0 DISKR SYSUT1 (open'

Somewhere in the world this should leave a DCB.  Can I find it
(chasing pointers or otherwise) so I can inspect it with STORAGE()?
(This might be thwarted because an opened DCB does not contain
the DDNAME which could be used as an eyecatcher.)

My fallback is a minimal assembler program to obtain storage for a
DCB (must it be below the line?  How can I make that happen?)
OPEN, and return the address to Rexx.

Thanks,
gil

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

Reply via email to