Invoke the IUI Main Dialog (DGADISTR)
Typically, IUI invocation is done inside ISPF, since doing it outside ISPF via ISPSTART makes it difficult to use the other ISPF options. Connect:Direct® for z/OS® IUI invocation must be done by using ISPF SELECT with PGM, not SELECT with CMD. The SELECT can be in a panel, a CLIST, or REXX, or in an ISPF command table entry. The only prerequisite is that all required DDNAMEs are allocated.
A new ISPF APPLID for Connect:Direct for z/OS has to be specified by using NEWAPPL(applid). If LIBDEF was used to allocate the ISPF application component data sets, and NEWAPPL was specified in the SELECT, then you must also specify PASSLIB or the LIBDEFs are not searched.
See the table for IUI invocation examples.
&ZSEL = TRANS( TRUNC (&ZCMD,'.') … CD,'PGM(DGADISTR) PARM(cd-netmapdsn)..)
ISPEXEC SELECT PGM(DGADISTR) PARM(cd-netmap-dsn)
ADDRESS ISPEXEC “SELECT PGM(DGADISTR) PARM(cd-netmap-dsn)”
ZCTACT = SELECT PGM(DGADISTR) PARM(cd-netmap-dsn)