Are any way to catch errors like
" ISPN106
Ddname not allocated
Ddname 'APCPLIB' specified on LIBDEF service not allocated.
Current dialog statement:
LIBDEF ISPPLIB LIBRARY ID(APCPLIB"
so I don't "fall out" of the calling "parent" rexx.
The rexx does:
Address Ispexec 'CONTROL ERRORS RETURN'
Address Ispexec 'SELECT CMD(%APC) SUSPEND'
(At the error above I "fall out" to ISPF primary menu.)
(There is also an accompanying (following) error that I think is of lesser importance for my problem:
BPXP018I THREAD 28CF6E0000000001, IN PROCESS 17236388, ENDED
WITHOUT BEING UNDUBBED WITH COMPLETION CODE 0013E000
, AND REASON CODE 00000000.)
As this rexx services a menu that is supposed to be common for all applications I would prefer to keep the control despite a failing application.
Any suggestions ?
Regards,
Thomas Berg
_________________________________________
Thomas Berg Specialist A M SWEDBANK
Regards,
Thomas Berg
_________________________________________
Thomas Berg Specialist A M SWEDBANK
> -----Ursprungligt meddelande-----
> Från: ISPF discussion list [mailto:ISP...@LISTSERV.ND.EDU] För Steve
> Coalbran
> Skickat: den 3 oktober 2011 15:26
> Till: ISP...@LISTSERV.ND.EDU
> Ämne: Re: SV: CONTROL ERRORS RETURN and other means of catching errors