because im getting,
Update or delete in file NM2401DA without prior input operation (C G D F).
this error.. when i use the following code..
1 Do noofp cnt1
eval rrn1 = cnt1
rrn1 chain sfl01
update sfl01
enddo
If you cannot absolutely ensure that the CHAIN will always find a record, yes, you should have an IF test for %FOUND(). There isn't enough of the program for me to guess if a record should be found or not. It doesn't show where records were written to sfl01. -- Tom
Discuss This Question: 3  Replies
If you are not going to do anything if the chain does not find a record then you do not need an else.