Page 1 of 1

Can ZTDSELS be reset automatically after an error is encount

PostPosted: Tue Mar 16, 2010 10:52 pm
by David Hadden
I'm trying to limit the number of rows that can be selected on an ISPF panel. I can add a panel edit, but do not have access to the underlying programming code.

IF (&ABCDEF EQ Y)   
   IF (&ZTDSELS GT 1) 
      .MSG  = ABC123   


This works, but &ZTDSELS seems to remain set. I'm attempting to reset this in the )REINIT section of the panel code.

I'm sure this can be done easily on the program code, but does anyone know if this can be done only itn the panel code?