I have a file(A) that needs to have records deleted from it based off information in another file(B). I think the logic should be... Read A Chain to B if criteria met delete record. Is there a better/cleaner way to do this? I do not have much experience with RPG.
Software/Hardware used:
ASKED:
October 21, 2009 2:35 PM
UPDATED:
October 21, 2009 5:27 PM
If you just want to delete and it is definitely a 1 to 1 releationship,
instead of doing a chain and checking if found, you can just do a delete.
If it is a one to many relationship, you can put the delete in a DO Loop