On Mon, Mar 3, 2008 at 12:14 PM, Paul Gilmartin <[EMAIL PROTECTED]> wrote:

>  Ouch!  This sounds like an ISPF question rather than a Rexx
>  question.  Another issue of IBM's unnecessarily treating
>  ordinary boundary conditions as special.  Would VIEW work
>  better than BROWSE here?  Is the data set initialized properly?
>
>  But if you get RC=12, there's no need to TRAP or pre-empt.
>  simply process the return code.  SIGNAL ON ERROR is overkill;
>  harmful to good coding.  I use it sparingly, in sections of
>  code where I expect no error and have coded no recovery.
>
>  -- gil
>
Rexx doesn't see the RC=12 unless you first invoke the ISPF service
"CONTROL ERRORS RETURN".

ISPF's default behaviour is to handle the condition by throwing a
Dialog error and terminating your function.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to