I'm having an error shown as in the picture below :
It happens when I want to update existing record and also when I put wrong option and blank option. When I debug, I realize that the error comes when want to UPDATE SUBFILE.
OSR Begsr ReadC SFL01 DOW *IN91 = *OFF Select OPT WhenEQ 2 Exsr UPDSR OPT WhenEQ 4 Exsr DLTSR OPT WhenEQ 5 Exsr DSPSR Other Exsr ERRSR EndSL Clear OPT UPDATE SFL01 READC SFL01 Enddo Endsr
What should I do? Do I need to chain from logical file? Please help me. Thanks in advance