The Question is:
Is there a way to aquire the same information provided by the SDA> SHOW
PROCESS /CHANNEL inside a program?
The Answer is :
Barring a brute-force scan of the potential I/O channels for the
process (in the current process context), how willing are you to
write and use kernel-mode code to scan the CCBs and such (either
in the current process context, or in the process context of another
process via an interprocess AST)?
The OpenVMS Wizard would suggest the internals and data structures
manual as a starting point, as well as available code examples from
DECUS symposia. (eg: a hot file monitor written by Bruce Ellis.)