I want to delete records from file SLALLO, but not MBADREP. Fields ADxxxx are in the MBADREP file. The "select" works. What do I need to make it delete?
delete from SLALLO, MBADREP where ADAKDT > 1040731 and ADUUQ1
> 0 and ADZ93N < ADUUQ1 and ADA3CD like '4%' and ADAENB=CONO and
ADDCCD=ORTP and ADCVNB=ORDNO and ADFCNB=ITMSQ and ADHFCD < '50'
delete from SLALLO, MBADREP where ADAKDT > 1040731 and ADUUQ1
> 0 and ADZ93N < ADUUQ1 and ADA3CD like '4%' and ADAENB=CONO and
ADDCCD=ORTP and ADCVNB=ORDNO and ADFCNB=ITMSQ and ADHFCD < '50'