Mainframe COBOL db2 delete program
问题 Detail question is my next question -- please check below link DB2/Cursor program working in cobol 回答1: This should be a 2 step process. First identify the records that are to be deleted and then delete those records in the 2nd step. I think, you'll Not be able to delete the records from the same table you are fetching, that's why 2 steps. Step 1: Select Concat(A.ClientId, A.PhoneNumber, A.Timestamp) from MyTable A Where Concat(A.ClientId, A.PhoneNumber, A.Timestamp) Not IN (Select Concat(B