From where can I get PGM name?
why do You want reinvent the wheel,
what is the value of duplicating the ISPF behavior
for proper behavior and portability You should use ONLY
the constructs defined as user interfaces and described in the ISPF manuals
invoking the ISRUDL program is not one of them
using the constructs found in the IBM/ISPF provided panels and not documented in the manuals
is usually counterproductive
start from the mother of all the manuals
http://www-03.ibm.com/systems/z/os/zos/ ... index.htmland navigate to the bookshelf for the zOS level You are using